| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-18 | Fixes for GHC 8.4.1 compatibility | Thomas Hallgren | |
| * In GHC 8.4.1, the operator <> has become a method of the Semigroup class and is exported from the Prelude. This is unfortunate, since <> is also exported from the standard library module Text.PrettyPrint, so in any module that defines a pretty printer, there is likely to be an ambiguity. This affects ~18 modules in GF. Solution: import Prelude hiding (<>) This works also in older versions of GHC, since GHC does't complain if you hide something that doesn't exists. * In GHC 8.4.1, Semigroup has become a superclass of Monoid. This means that anywhere you define an instance of the Monoid class you also have to define an instance in the Semigroup class. This affects Data.Binary.Builder in GF. Solution: conditionally define a Semigroup instance if compiling with base>=4.11 (ghc>=8.4.1) | |||
| 2015-09-28 | Preliminary new shell feature: cc -trace. | hallgren | |
| You can now do things like cc -trace mkV "debug" to see a trace of all opers with their arguments and results during the computation of mkV "debug". | |||
| 2014-10-21 | Renaming SourceGrammar to Grammar and similarly for some related types | hallgren | |
| Included renamings: SourceGrammar -> Grammar SourceModule -> Module SourceModInfo -> ModuleInfo emptySourceGrammar -> emptyGrammar Also introduces a type synonym (which might be good to turn into a newtype): type ModuleName = Ident The reason is to make types like the following more self documenting: type Module = (ModuleName,ModuleInfo) type QIdent = (ModuleName,Ident) | |||
| 2014-07-27 | Adding GF.Infra.Location and GF.Text.Pretty (forgot to 'darcs add' them before) | hallgren | |
