File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -452,9 +452,9 @@ instance MonadInfer m
452452
453453polymorphicVar :: MonadInfer m => VarName -> InferT s m (Judgment s )
454454polymorphicVar var =
455- fmap
456- (join (( `Judgment ` mempty ) . curry one var) )
457- fresh
455+ fmap
456+ (join $ ( `Judgment ` mempty ) . curry one var)
457+ fresh
458458
459459constInfer :: Applicative f => Type -> b -> f (Judgment s )
460460constInfer x = const $ pure $ inferred x
@@ -534,9 +534,9 @@ instance MonadInfer m => MonadEval (Judgment s) (InferT s m) where
534534 (() , Judgment as cs t) <-
535535 extendMSet
536536 a
537- $ k @ ()
538- (( pure . ((`Judgment ` mempty ) =<< curry one x)) tv)
539- $ const $ fmap (mempty ,)
537+ $ k
538+ ( pure (join ((`Judgment ` mempty ) . curry one x ) tv) )
539+ $ const $ fmap (mempty ,)
540540 pure $
541541 Judgment
542542 (as `Assumption.remove` x)
You can’t perform that action at this time.
0 commit comments