14 lines
214 B
Agda
14 lines
214 B
Agda
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
|