typed-compose/typed-compose.scrbl
Sergiu Ivanov 9335e1498e typed-compose.rkt -> main.rkt
Scribble has requiring typed-compose.rkt fol labels (or indeed any
file which is not called main.rkt).
2020-12-21 20:57:39 +01:00

31 lines
1.3 KiB
Racket

#lang scribble/manual
@(require scribble/example racket/sandbox
(for-label racket/base typed-compose
(only-in typed/racket/base
-> compose)))
@title{Utilities for composing functions in Typed Racket}
Typed Racket's @racket[compose] only takes two arguments, because in general it
is difficult to specify that the return types and the argument types should be
the same for two successive functions in the argument list. This package
defines some further utilities to allow @racket[compose]-ing more than two
functions more comfortable in Typed Racket.
@section{License}
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but
@bold{without any warranty}; without even the implied warranty of
@bold{merchantability} or @bold{fitness for a particular purpose}. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see
@hyperlink["https://www.gnu.org/licenses/"]{https://www.gnu.org/licenses/}.