Core protocol and helpers for schema.core to extract and attach input and output schemas to fnks. This protocol says nothing about how fnks are created, so users are free to create PFnks directly using fn->fnk, or using custom binding syntax (of which 'fnk' et al are one possible example).
Core protocol and helpers for schema.core to extract and attach input and output schemas to fnks. This protocol says nothing about how fnks are created, so users are free to create PFnks directly using fn->fnk, or using custom binding syntax (of which 'fnk' et al are one possible example).
(fn->fnk f io)
(fn->fnk f name [input-schema output-schema :as io])
Make a keyword function into a PFnk, by associating input and output schema metadata.
Make a keyword function into a PFnk, by associating input and output schema metadata.
(fnk-name f)
Get the name of a fnk, if named
Get the name of a fnk, if named
Protocol for keyword functions and their specifications, e.g., fnks and graphs.
Protocol for keyword functions and their specifications, e.g., fnks and graphs.
(io-schemata this)
Return a pair of [input-schema output-schema], as specified in plumbing.fnk.schema.
Return a pair of [input-schema output-schema], as specified in plumbing.fnk.schema.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close