index
:
myslip.git
devel
master
A Lisp inspired programming language / interpreter for Aalto course CS-C2170 Modern and emerging programming languages.
Joel Kronqvist
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
solutions
/
cond-add-inv
/
a.slip
blob: ac1137025cd41b468e5e67dae8d7cc05ebf31805 (
plain
)
1
2
3
4
5
6
7
(let cond-add-inv (fn (x cond) (Int Bool) Int (if cond (* -1 x) x) ) )