Guess whose office this window is in?
Orange Office
Posted on
Posted on
Guess whose office this window is in?
Posted on
Use a BSD or Solaris for better ZFS support
in reply toPosted on
Obviously ARM processor… what else would they even use?
in reply toPosted on
You can overload two different types, but not two different values for the same type — how would it even choose which one to return?
Here's what I think you want:
data B = B String
data C = C Int
class BorC a where
get :: a
instance BorC B where
get = B "1"
instance BorC C where
get = C 1
in reply to Posted on