From b154d6b3be99a4a9f5907c84645ca569183bb40e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 2 Aug 2023 10:38:22 -0400 Subject: Factor out nix builder into Haskell.nix This also fixed a bug where every dependency would get pulled into the Haskell target while searching for transitive dependencies. --- Alpha.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alpha.hs') diff --git a/Alpha.hs b/Alpha.hs index 6cc9b18..e53474b 100644 --- a/Alpha.hs +++ b/Alpha.hs @@ -245,6 +245,8 @@ wrap lim = Text.words .> wrap_ 0 .> Text.unwords where lw = Text.length w +-- | Automatically convert any string-like type into any other string-like type, +-- using types to infer the appropriate conversion. str :: (StringConv a b) => a -> b str = Protolude.Conv.toS -- cgit v1.2.3