Skip to content
Snippets Groups Projects
  1. Jan 04, 2021
  2. Nov 20, 2020
  3. Sep 16, 2020
  4. Apr 05, 2020
  5. Mar 29, 2020
  6. Mar 13, 2020
  7. Jan 15, 2020
  8. Jan 29, 2019
  9. Jan 23, 2019
  10. Nov 28, 2018
  11. May 29, 2018
  12. May 28, 2018
  13. May 24, 2018
    • Ralf Jung's avatar
      Remove the `default` notation for options · e585be6d
      Ralf Jung authored
      The notation was parsing-only and all it did was reorder the arguments for
      from_option.  This creates just a needless divergence between what is written
      and what is printed.  Also, removing it frees the name for maybe introducing a
      function or notation `default` with a type like `T -> option T -> T`.
      e585be6d
  14. Apr 05, 2018
  15. Jan 31, 2018
  16. Nov 12, 2017
    • Robbert Krebbers's avatar
      Make `fmap` left associative. · 12e701ca
      Robbert Krebbers authored
      This follows the associativity in Haskell. So, something like
      
        f <$> g <$> h
      
      Is now parsed as:
      
        (f <$> g) <$> h
      
      Since the functor is a generalized form of function application, this also now
      also corresponds with the associativity of function application, which is also
      left associative.
      12e701ca
  17. Oct 28, 2017
  18. Sep 17, 2017
    • Robbert Krebbers's avatar
      Set Hint Mode for all classes in `base.v`. · 7d7c9871
      Robbert Krebbers authored
      This provides significant robustness against looping type class search.
      
      As a consequence, at many places throughout the library we had to add
      additional typing information to lemmas. This was to be expected, since
      most of the old lemmas were ambiguous. For example:
      
        Section fin_collection.
          Context `{FinCollection A C}.
      
          size_singleton (x : A) : size {[ x ]} = 1.
      
      In this case, the lemma does not tell us which `FinCollection` with
      elements `A` we are talking about. So, `{[ x ]}` could not only refer to
      the singleton operation of the `FinCollection A C` in the section, but
      also to any other `FinCollection` in the development. To make this lemma
      unambigious, it should be written as:
      
        Lemma size_singleton (x : A) : size ({[ x ]} : C) = 1.
      
      In similar spirit, lemmas like the one below were also ambiguous:
      
        Lemma lookup_alter_None {A} (f : A → A) m i j :
          alter f i m !! j = None :left_right_arrow: m !! j = None.
      
      It is not clear which finite map implementation we are talking about.
      To make this lemma unambigious, it should be written as:
      
        Lemma lookup_alter_None {A} (f : A → A) (m : M A) i j :
          alter f i m !! j = None :left_right_arrow: m !! j = None.
      
      That is, we have to specify the type of `m`.
      7d7c9871
  19. Sep 08, 2017
  20. Mar 15, 2017
  21. Feb 09, 2017
  22. Jan 31, 2017
  23. Dec 09, 2016
  24. Nov 22, 2016
  25. Nov 16, 2016
  26. Oct 03, 2016
  27. Sep 20, 2016
  28. Jul 27, 2016
  29. Jun 14, 2016
  30. May 27, 2016
Loading