File tree Expand file tree Collapse file tree 5 files changed +16
-19
lines changed
Expand file tree Collapse file tree 5 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 1616 " package.json"
1717 ],
1818 "dependencies" : {
19- "purescript-prelude" : " ^2.5 .0" ,
20- "purescript-parsing" : " ^3.2.1 " ,
21- "purescript-fixed-points" : " ^3 .0.0" ,
22- "purescript-datetime" : " ^2.1 .0"
19+ "purescript-prelude" : " ^3.0 .0" ,
20+ "purescript-parsing" : " ^4.0.0 " ,
21+ "purescript-fixed-points" : " ^4 .0.0" ,
22+ "purescript-datetime" : " ^3.0 .0"
2323 },
2424 "devDependencies" : {
25- "purescript-aff" : " ^2 .0.3 " ,
26- "purescript-console" : " ^2 .0.0" ,
27- "purescript-psci-support" : " ^2 .0.0" ,
28- "purescript-debug" : " ^2 .0.0"
25+ "purescript-aff" : " ^3 .0.0 " ,
26+ "purescript-console" : " ^3 .0.0" ,
27+ "purescript-psci-support" : " ^3 .0.0" ,
28+ "purescript-debug" : " ^3 .0.0"
2929 }
3030}
Original file line number Diff line number Diff line change 66 "test" : " pulp test"
77 },
88 "devDependencies" : {
9- "pulp" : " ^10 .0.1 " ,
10- "purescript" : " ^0.10.7 " ,
11- "purescript-psa" : " ^0.4 .0" ,
9+ "pulp" : " ^11 .0.0 " ,
10+ "purescript" : " ^0.11.0 " ,
11+ "purescript-psa" : " ^0.5 .0" ,
1212 "rimraf" : " ^2.6.1"
1313 }
1414}
Original file line number Diff line number Diff line change @@ -394,9 +394,8 @@ unformatFParser cb = case _ of
394394 when (Arr .length ds /= 3 || sss < 0 || sss > 999 ) $ P .fail " Incorrect millisecond"
395395 lift $ modify _{millisecond = Just sss}
396396 cb a
397- Placeholder s a → do
398- PS .string s
399- cb a
397+ Placeholder s a →
398+ PS .string s *> cb a
400399 End →
401400 pure unit
402401
Original file line number Diff line number Diff line change @@ -149,9 +149,7 @@ unformatParser f = do
149149 digitsWithCommas =
150150 if not f.comma
151151 then do
152- ds ← some digit
153- PS .string " ."
154- pure ds
152+ some digit <* PS .string " ."
155153 else
156154 digitsWithCommas' [ ]
157155
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import Data.Time as T
1010import Debug.Trace as DT
1111import Control.Monad.Aff (Aff , Canceler , runAff )
1212import Control.Monad.Aff.Class (liftAff )
13- import Control.Monad.Eff (Eff )
13+ import Control.Monad.Eff (Eff , kind Effect )
1414import Control.Monad.Eff.Console (CONSOLE )
1515import Control.Monad.Eff.Exception (EXCEPTION , error )
1616import Control.Monad.Error.Class (throwError )
@@ -35,7 +35,7 @@ log :: forall e. String -> Tests e Unit
3535log message = liftAff $ AffC .log message
3636
3737
38- foreign import data PROCESS :: !
38+ foreign import data PROCESS :: Effect
3939foreign import exit :: Int -> forall e . Eff (process :: PROCESS | e ) Unit
4040
4141
You can’t perform that action at this time.
0 commit comments