Skip to content

Commit

Permalink
yampa: Group imports (KSG Haskell 1.3.0 - 3.5). Refs #266.
Browse files Browse the repository at this point in the history
Imports should be grouped between external imports, external imports
from the same project (but different libraries) and internal imports.
When groups are used, comments must be used to indicate the nature of
each group. If there are no distinct groups, they are considered to be
all in the same group.
  • Loading branch information
ivanperez-keera committed Apr 29, 2023
1 parent 144da7b commit 4055674
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yampa/src/FRP/Yampa/Task.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ module FRP.Yampa.Task
)
where

-- External imports
#if __GLASGOW_HASKELL__ < 710
import Control.Applicative (Applicative(..))
#endif

-- Internal imports
import FRP.Yampa.Basic (constant)
import FRP.Yampa.Diagnostics (intErr, usrErr)
import FRP.Yampa.Event (Event, lMerge)
Expand Down

0 comments on commit 4055674

Please sign in to comment.