Tweets

You blocked @parametricity

Are you sure you want to view these Tweets? Viewing Tweets won't unblock @parametricity

  1. 21 Apr 2017

    I wonder what this function does. flip :: Functor f => f (a -> b) -> a -> f b Wait, no I don't.

    Undo
  2. 17 Apr 2017

    f :: Lens a b -> a -> b -> a This does one of two things. ∀ l x y. x /= y => f l x y x /= x Now I know which.

    Undo
  3. 14 Oct 2015

    length :: Foldable f => f a -> Int ∴ length (1, '2', "3") must return 1.

    Undo
  4. Retweeted
    10 Jul 2015
    Replying to

    a -> (a -> a) -> a I've narrowed this down to countably many possibilities.

    Undo
  5. Retweeted
    11 Jul 2015

    Generalize an abstraction because removing nonessential information clarifies its independent meaning. Re-use is accidental.

    Undo
  6. 9 Jul 2015

    a -> (a, a, a, a) I definitely know what this function does. (a, a, a, a) -> a I almost know what this function does.

    Undo
  7. 26 Feb 2015

    f :: Monad f=>f T -> f T The result might depend on previous effect values g :: Applicative f=>f T -> f T This definitely doesn't though

    Undo
  8. Retweeted
    15 Feb 2015

    Proof `fmap f.fmap g=fmap(f.g)` follows from `fmap id=id` and the free theorem: /cc

    Undo
  9. 10 Feb 2015

    Using Data.Foldable and parametricity, one can be sure that: foldMap f &&& foldMap g = foldMap (f &&& g)

    Undo
  10. 2 Feb 2015

    f :: [a] -> [a] This type tells us some, but not all, things. ∀ x. f [x] = [x] ∀ x y. f (x++y) = f y++f x These tests tell us the rest.

    Undo
  11. 28 Jan 2015

    f :: a -> a -> a This function does one of two things. test = f 1 2 == 1 Now it is disambiguated between those two.

    Undo
  12. 24 Jan 2015

    Reminder. Fast & Loose Reasoning is Morally Correct.

    Undo
  13. 24 Jan 2015

    A csharp<A>(A a) This function returns its argument.

    Undo
  14. 22 Jan 2015

    (~.~<.~>\\+.) :: (Profunctor p, Functor f) => (a -> f b) -> p b r -> f (p a r) This operator clearly specifies what it does in the type.

    Undo
  15. 22 Jan 2015

    Monad f => f a -> f b -> f b Any (a) values from the effect (f a) are not used.

    Undo
  16. 22 Jan 2015
    Replying to

    Correction. Applicative f => f a -> f a This function is implemented with only id, (<*) or (*>). Thanks @dino_joel

    Undo
  17. 22 Jan 2015

    Applicative => f a -> f a This function is implemented with only id, (<*) or (*>).

    Undo
  18. 21 Jan 2015

    IO Int -> a -> Int This function ignores both arguments.

    Undo
  19. 21 Jan 2015

    String -> a -> a This function returns the second argument, ignoring the first.

    Undo
  20. 21 Jan 2015

    const :: a -> b -> a This function returns the first argument, ignoring the second.

    Undo

Loading seems to be taking a while.

Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

    You may also like

    ·