put the port in the port directory
This commit is contained in:
13
port/Data/String.newt
Normal file
13
port/Data/String.newt
Normal file
@@ -0,0 +1,13 @@
|
||||
module Data.String
|
||||
|
||||
|
||||
import Prelude
|
||||
|
||||
class Interpolation a where
|
||||
interpolate : a → String
|
||||
|
||||
unwords : List String → String
|
||||
unwords stuff = joinBy " " stuff
|
||||
|
||||
instance Cast String Int where
|
||||
cast = stringToInt
|
||||
Reference in New Issue
Block a user