Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Text/Reform/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ instance (SG.Semigroup input, Monad m) => SG.Semigroup (Environment m input) whe
-- | Not quite sure when this is useful and so hard to say if the rules for combining things with Missing/Default are correct
instance (SG.Semigroup input, Monad m) => Monoid (Environment m input) where
mempty = NoEnvironment
mappend = (SG.<>)

-- | Utility function: returns the current 'FormId'. This will only make sense
-- if the form is not composed
Expand Down
1 change: 0 additions & 1 deletion Text/Reform/Result.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ instance Functor (Result e) where
fmap f (Ok x) = Ok (f x)

instance Monad (Result e) where
return = Ok
Error x >>= _ = Error x
Ok x >>= f = f x

Expand Down