Skip to content

Commit

Permalink
Expr.Types.Annotated: AnnE: add explanation
Browse files Browse the repository at this point in the history
That is my understanding, it can be wrong (but hey, there were no better there)!
  • Loading branch information
Anton-Latukha committed May 18, 2021
1 parent 46a82e3 commit 1ed4d13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Nix/Expr/Types/Annotated.hs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ data Ann ann a = Ann
type AnnF ann f = Compose (Ann ann) f

-- | Pattern: @Fix (Compose (Ann _ _))@.
-- Fix composes units of (annotations & the annotated) into one object.
-- Giving annotated expression.
pattern AnnE
:: forall ann (g :: * -> *)
. ann
Expand Down

0 comments on commit 1ed4d13

Please sign in to comment.