Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val a = ref 12;
- val silly = fn () => (
- if !a < 10 then
- (print "a is small")
- else
- ();
- if !a > 10 then
- (print "a is big")
- else
- ();
- print "a is just right";
- silly ();
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement