Skip to content

Instantly share code, notes, and snippets.

@taktoa
Last active October 22, 2016 10:20
Show Gist options
  • Save taktoa/bed8990a72e9785dd08f8065416756c2 to your computer and use it in GitHub Desktop.
Save taktoa/bed8990a72e9785dd08f8065416756c2 to your computer and use it in GitHub Desktop.
CPP
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
ExtendedDefaultRules
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
KindSignatures
MultiParamTypeClasses
NoMonomorphismRestriction
OverloadedStrings
PatternGuards
ScopedTypeVariables
TypeSynonymInstances
UndecidableInstances
~ $ git clone git@github.com:BNFC/bnfc.git
~ $ cd bnfc
bnfc $ git grep '^{-# LANGUAGE'
source/runtime/Algebra/RingUtils.hs:{-# LANGUAGE GeneralizedNewtypeDeriving #-}
source/runtime/Data/Matrix/Class.hs:{-# LANGUAGE FlexibleInstances #-}
source/runtime/Data/Matrix/Quad.hs:{-# LANGUAGE GADTs, DataKinds, ScopedTypeVariables, KindSignatures #-}
source/runtime/Parsing/CNF.hs:{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies,
source/runtime/Parsing/Chart.hs:{-# LANGUAGE NoMonomorphismRestriction, TypeSynonymInstances, FlexibleInstances #-}
source/runtime/Parsing/TestProgram.hs:{-# LANGUAGE ScopedTypeVariables, FlexibleContexts #-}
source/src/AbsBNF.hs:{-# LANGUAGE DeriveDataTypeable #-}
source/src/AbsBNF.hs:{-# LANGUAGE DeriveGeneric #-}
source/src/BNFC/Backend/Base.hs:{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
source/src/BNFC/Backend/CPP/NoSTL/CFtoCPPAbs.hs:{-# LANGUAGE OverloadedStrings #-}
source/src/BNFC/Backend/Haskell/ToCNF.hs:{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, CPP #-}
source/src/BNFC/Backend/Haskell/ToCNF.hs:{-# LANGUAGE OverloadedStrings #-}
source/src/BNFC/Backend/Java/CFtoJavaAbs15.hs:{-# LANGUAGE OverloadedStrings #-}
source/src/BNFC/CF.hs:{-# LANGUAGE PatternGuards, DeriveFunctor #-}
source/src/BNFC/ToCNFCore.hs:{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, CPP #-}
source/src/BNFC/ToCNFCore.hs:{-# LANGUAGE OverloadedStrings #-}
source/src/Data/Pair.hs:{-# LANGUAGE CPP #-}
source/src/ErrM.hs:{-# LANGUAGE CPP #-}
source/test/BNFC/Backend/BaseSpec.hs:{-# LANGUAGE FlexibleInstances, UndecidableInstances #-}
source/test/BNFC/Backend/BaseSpec.hs:{-# LANGUAGE ExtendedDefaultRules #-}
source/test/BNFC/OptionsSpec.hs:{-# LANGUAGE FlexibleInstances, UndecidableInstances #-}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment