@@ -13,7 +13,7 @@ strToType _ = Nat
1313-- If the file contains "Int", provide Int as a type, otherwise provide Nat
1414fromFile : String -> IO (Provider Type)
1515fromFile fname = do str <- readFile fname
16− return (Provide (strToType str))
16+ return (Provide (strToType (trim str)))
1717
1818%provide (T1 : Type) with fromFile "theType"
1919%provide (T2 : Type) with fromFile "theOtherType"