porting WIP
This commit is contained in:
12
done/Data/Int.newt
Normal file
12
done/Data/Int.newt
Normal file
@@ -0,0 +1,12 @@
|
||||
module Data.Int
|
||||
|
||||
import Prelude
|
||||
|
||||
div : Int → Int → Int
|
||||
div a b = a / b
|
||||
|
||||
instance Cast Char Int where
|
||||
cast = ord
|
||||
|
||||
instance Cast Int String where
|
||||
cast = show
|
||||
Reference in New Issue
Block a user