Last active
February 1, 2016 20:16
-
-
Save sdiehl/e6a7efa4708a878507d0 to your computer and use it in GitHub Desktop.
Modern Haskell Preamble
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS_GHC -fwarn-incomplete-patterns #-} | |
{-# LANGUAGE GADTs #-} | |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE PolyKinds #-} | |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE KindSignatures #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
{-# LANGUAGE FunctionalDependencies #-} | |
{-# LANGUAGE ExistentialQuantification #-} | |
{-# LANGUAGE AutoDeriveTypeable #-} | |
{-# LANGUAGE DefaultSignatures #-} | |
{-# LANGUAGE DeriveGeneric #-} | |
{-# LANGUAGE DeriveFunctor #-} | |
{-# LANGUAGE DeriveTraversable #-} | |
{-# LANGUAGE DeriveFoldable #-} | |
{-# LANGUAGE ExplicitForAll #-} | |
{-# LANGUAGE RoleAnnotations #-} | |
{-# LANGUAGE NoMonomorphismRestriction #-} | |
{-# LANGUAGE InstanceSigs #-} | |
{-# LANGUAGE OverloadedLists #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE QuasiQuotes #-} | |
{-# LANGUAGE TemplateHaskell #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE StandaloneDeriving #-} | |
{-# LANGUAGE MultiWayIf #-} | |
{-# LANGUAGE LambdaCase #-} | |
{-# LANGUAGE TupleSections #-} | |
{-# LANGUAGE ViewPatterns #-} | |
{-# LANGUAGE PatternSynonyms #-} | |
{-# LANGUAGE TypeSynonymInstances #-} | |
{-# LANGUAGE ConstrainedClassMethods #-} | |
{-# LANGUAGE ConstraintKinds #-} | |
{-# LANGUAGE BangPatterns #-} | |
{-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
{-# LANGUAGE PatternSynonyms #-} | |
{-# LANGUAGE TypeInType #-} | |
{-# LANGUAGE ApplicativeDo #-} | |
{-# LANGUAGE StaticPointers #-} | |
{-# LANGUAGE TypeApplications #-} | |
{-# LANGUAGE OverloadedLabels #-} | |
{-# LANGUAGE DuplicateRecordFields #-} | |
{-# LANGUAGE DeriveAnyClass #-} | |
{-# LANGUAGE DeriveLift #-} | |
{-# LANGUAGE NamedWildCards #-} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe
AutoDeriveTypeable
is now on by default.