Skip to content

Commit

Permalink
yampa: Adjust indentation to two spaces (KSG Haskell 1.3.0 - 4.2). Refs
Browse files Browse the repository at this point in the history
#215.

Suggestion: Each time a new expression or block-like construct is opened, the
indent should increase by two spaces. When the section ends, the indent returns
to the previous indent level. The indent level applies to both Haskell
expressions and comments throughout the block.
  • Loading branch information
ivanperez-keera committed May 15, 2022
1 parent 7bd1725 commit 60800cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yampa/src/FRP/Yampa/Diagnostics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ usrErr mn fn msg = error (mn ++ "." ++ fn ++ ": " ++ msg)
-- | Reports an error in Yampa's implementation.
intErr :: String -> String -> String -> a
intErr mn fn msg = error ("[internal error] " ++ mn ++ "." ++ fn ++ ": "
++ msg)
++ msg)

0 comments on commit 60800cc

Please sign in to comment.