-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
new functionRequest to add a new function to the libraryRequest to add a new function to the library
Description
Not sure if there is much appetite for this, but a Core-ish type is the function type. There are a bunch of helper functions to do with functions:
uncurry : (a -> b -> c) -> (a, b) -> ccurry : ((a, b) -> c) -> a -> b -> c- all sorts of function combinators:
a -> b -> b,(a -> c) -> (b -> c -> d) -> a -> b -> d, yada yada toFixpoint : (a -> a) -> a -> aand perhapstoFixpointWithLimit : Int -> (a -> a) -> a -> Result a awhile : (a -> Bool) -> (a -> a) -> a -> aanddoWhile : (a -> a) -> (a -> Bool) -> a -> anTimes : Int -> (a -> a) -> a -> a
etc...
Thoughts? Opinions?
lue-bird and lydell
Metadata
Metadata
Assignees
Labels
new functionRequest to add a new function to the libraryRequest to add a new function to the library