Liking cljdoc? Tell your friends :D

plumbing.fnk.pfnk

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).
raw docstring

fn->fnkclj/s

(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.
sourceraw docstring

fnk-nameclj/s

(fnk-name f)

Get the name of a fnk, if named

Get the name of a fnk, if named
sourceraw docstring

inputclj/s

(input s)
source

input-schemaclj/s

(input-schema pfnk)
source

input-schema-keysclj/s

(input-schema-keys f)
source

outputclj/s

(output s)
source

output-schemaclj/s

(output-schema pfnk)
source

PFnkclj/sprotocol

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-schemataclj/s

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close