Skip to content
Snippets Groups Projects
  1. Mar 26, 2009
  2. Mar 24, 2009
  3. Mar 19, 2009
    • chak@cse.unsw.edu.au.'s avatar
      Adding equality constraints · 36bf9a53
      chak@cse.unsw.edu.au. authored
      - This patch adds equality constraints
      - This requires an incompatible change of the type TH.Cxt - hence:
      
        *** This patch changes the API!  Existing client code will break! ***
      
      - I took the opportunity to sanitise the definition of contexts a bit.
      36bf9a53
    • chak@cse.unsw.edu.au.'s avatar
      Added type family declarations forms · 2d75b36f
      chak@cse.unsw.edu.au. authored
      - Adds type family and instance declarations, both on the top level and
        as associated types
      - No equality constraints yet
      2d75b36f
  4. Jan 21, 2009
  5. Jan 22, 2009
  6. Jan 21, 2009
  7. Jan 19, 2009
  8. Nov 12, 2008
  9. Oct 16, 2008
  10. Oct 25, 2008
  11. Oct 05, 2008
  12. Sep 20, 2008
  13. Aug 25, 2008
  14. Aug 05, 2008
  15. Jul 19, 2008
  16. Jun 19, 2008
  17. Jun 16, 2008
  18. Apr 23, 2008
  19. Jan 18, 2008
    • Simon Peyton Jones's avatar
      Replace TH.Quasi by TH.Quote · 90726a0d
      Simon Peyton Jones authored
      This is a wibble to the preceding quasiquotation patch:
      I failed to add a file.
      90726a0d
    • Simon Peyton Jones's avatar
      Support code for quasi-quotation feature · 164d14e1
      Simon Peyton Jones authored
      This patch supports the quasi-quotation feature.  Here's the relevant
      parts from the message in the big compiler patch:
      
        Fri Jan 18 14:55:03 GMT 2008  simonpj@microsoft.com
          * Add quasi-quotation, courtesy of Geoffrey Mainland
        
        This patch adds quasi-quotation, as described in
          "Nice to be Quoted: Quasiquoting for Haskell"
        	(Geoffrey Mainland, Haskell Workshop 2007)
        Implemented by Geoffrey and polished by Simon.
      
      ...snip...
        
        * There is an accompanying patch to the template-haskell library. This
          involves one interface change:
        	currentModule :: Q String
          is replaced by
        	location :: Q Loc
          where Loc is a data type defined in TH.Syntax thus:
              data Loc
                = Loc { loc_filename :: String
        	      , loc_package  :: String
        	      , loc_module   :: String
        	      , loc_start    :: CharPos
        	      , loc_end      :: CharPos }
        
              type CharPos = (Int, Int)	-- Line and character position
         
          So you get a lot more info from 'location' than from 'currentModule'.
          The location you get is the location of the splice.
          
          This works in Template Haskell too of course, and lets a TH program
          generate much better error messages.
        
        * There's also a new module in the template-haskell package called 
          Language.Haskell.TH.Quote, which contains support code for the
          quasi-quoting feature.
      
      164d14e1
  20. Oct 18, 2007
  21. Oct 14, 2007
  22. Sep 13, 2007
  23. Sep 02, 2007
  24. Aug 28, 2007
  25. Aug 25, 2007
    • sven.panne@aedion.de's avatar
      Added dummy license file · 6a9a2bfd
      sven.panne@aedion.de authored
      Please fill in the correct license, no clue what it should be. Furthermore,
      a few licenses resulting from the "Big Base Split" (tm) should be reviewed,
      I guess.
      6a9a2bfd
  26. Aug 01, 2007
  27. Jun 04, 2007
  28. May 29, 2007
  29. May 24, 2007
  30. May 18, 2007
  31. Apr 18, 2007
  32. Apr 10, 2007
  33. Apr 11, 2007
Loading