Add schala idea
This commit is contained in:
parent
4d89dcc85e
commit
857b77f2e3
@ -6,6 +6,13 @@ TODO:
|
|||||||
rename accordingly!
|
rename accordingly!
|
||||||
-idea for Schala - scoped types - be able to define a quick enum type scoped to a function ro something, that only
|
-idea for Schala - scoped types - be able to define a quick enum type scoped to a function ro something, that only
|
||||||
is meant to be used as a quick bespoke interface between two other things
|
is meant to be used as a quick bespoke interface between two other things
|
||||||
|
-idea for Schala: both currying *and* default arguments!
|
||||||
|
ex. fn a(b: Int, c:Int, d:Int = 1) -> Int
|
||||||
|
a(1,2) : Int
|
||||||
|
a(1,2,d=2): Int
|
||||||
|
a(_,1,3) : Int -> Int
|
||||||
|
a(1,2, c=_): Int -> Int
|
||||||
|
a(_,_,_) : Int -> Int -> Int -> Int
|
||||||
|
|
||||||
# Schala - a programming language meta-interpreter
|
# Schala - a programming language meta-interpreter
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user