Skip to content

a functional language based entirely on pure lambda calculus

License

Notifications You must be signed in to change notification settings

samalws/uwecode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

λuwecode

a functional language based entirely on pure lambda calculus

outline:

  • no special types; numbers, booleans, strings, lists, etc. are based in pure lambda calculus
  • IO system is based in pure lambda calculus
  • no keywords except for import directives
  • inline functions are interchangeable with prefixed calling: a `b c == b a c

types:

number: (x -> x) -> x -> x
bool: x -> x -> x
maybe a: (a -> x) -> x -> x
either a b: (a -> x) -> (b -> x) -> x
a,b: (a -> b -> x) -> x
[a]: maybe (a,[a])
byte: (((bool,bool),(bool,bool)),((bool,bool),(bool,bool)))
str: [byte]
IO: either (either (str -> IO) (str,IO)) (Maybe (IO,IO))

will describe more later

About

a functional language based entirely on pure lambda calculus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages