Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Problem - how to differentiate?
- foo :: a * b -> a * b
- foo x:
- match x
- | (a, b): (a, b * 3)
- foo :: a -> b -> String
- foo (a, b): "Hello, world! - " + b.ToString()
- foo (a, b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement