Skip to content

Commit

Permalink
3.4 パターンマッチ
Browse files Browse the repository at this point in the history
- Bool値上のパターンマッチの実例
  • Loading branch information
ukstudio committed Aug 16, 2011
1 parent c04c727 commit cc3f9b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ch03/add.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
myNot True = False
myNot False = True

0 comments on commit cc3f9b6

Please sign in to comment.