Beware: (.) is not compatible with the standard one because it is
higher-order and we don't have sufficient multiplicity polymorphism yet.
Modulelinear-base-0.4.0Haskell2010
Prelude.Linear.Internal
This is a very very simple prelude, which doesn't depend on anything else in the linear-base library.
- 12 values
- Packagelinear-base-0.4.0
- Exports12
- LanguageHaskell2010
- LicenceMIT
- SourceInternal.hs
Convenience operator when a higher-order function expects a non-linear arrow but we have a linear arrow.
seq x y only forces x to head normal form, therefore is not guaranteed
to consume x when the resulting computation is consumed. Therefore, seq
cannot be linear in it's first argument.