Skip to content

Commit

Permalink
clarify the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Nov 13, 2024
1 parent 1f4425c commit e487bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/SBV/Lambda.hs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ lambda :: (MonadIO m, Lambda (SymbolicT m) a) => State -> Kind -> a -> m SMTDef
lambda inState fk = lambdaGen mkLam inState fk
where mkLam (Defn frees params ops body) = SMTLam fk frees ops (extractAllUniversals <$> params) body

-- | Create an anonymous lambda, rendered as n SMTLib string
-- | Create an anonymous lambda, rendered as n SMTLib string. The kind passed is the kind of the final result.
lambdaStr :: (MonadIO m, Lambda (SymbolicT m) a) => State -> Kind -> a -> m String
lambdaStr = lambdaGen mkLam
where mkLam (Defn _frees Nothing _ops body) = body 0
Expand Down

0 comments on commit e487bdc

Please sign in to comment.