This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
HaskellCourse
Watch
3
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Branch:
cm-review
Branches
Tags
cm-review
master
mine-sweeper-lab
rsa-lab
HaskellCourse
/
cm
/
guard.hs
guard.hs
76 B
Permalink
History
Raw
1
2
3
4
5
6
-- Slide 10/78
sign n
| n < 0 = -1
| n > 0 = 1
| otherwise = 0