diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2022-12-06 19:43:01 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2022-12-06 19:43:01 +0200 |
| commit | 35bf45fe54788c6fca6b105b65fc1622a4bb7d34 (patch) | |
| tree | f89b430ff4b143ce5ce8780210b0151b8b560187 /examples/types-concept.milch | |
| parent | 82562a35e8f0706a812e3aefa8e837b88a1a0d95 (diff) | |
Rename and add lib stuff
Diffstat (limited to 'examples/types-concept.milch')
| -rw-r--r-- | examples/types-concept.milch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/types-concept.milch b/examples/types-concept.milch index 476c96b..a2126d9 100644 --- a/examples/types-concept.milch +++ b/examples/types-concept.milch @@ -26,8 +26,8 @@ true false false true))) -(type is-even (\[Int] Bool)) -(let is-even (\[n] +(type even? (\[Int] Bool)) +(let even? (\[n] (match (mod n 2) 0 true 1 false))) |
