fastsum
fastsum copied to clipboard
A fast open-union type, suitable for 100+ contained alternatives.
Results
5
fastsum issues
Sort by
recently updated
recently updated
newest added
I'm trying to figure out how to get the following to work: ```haskell stronger :: f :< r => Sum r v -> a stronger = undefined weaker :: f...
The following code demonstrates the problem: ``` works :: (Apply Eq1 r, Eq v) => Sum r v -> Sum r v -> Bool works x y = x ==...
I've found these useful as a UI for `fastsum` in my lens-oriented code: ```haskell {-# LANGUAGE AllowAmbiguousTypes #-} {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleContexts #-}...
Once upon a time, `fastsum` had separate `Apply` and `Apply1` typeclasses s.t. we could use `Apply` for `Show` and `Apply1` for `Functor`. We eventually got rid of the former because...
bug