Add common language extensions to .ghci

I'd like to see if I can avoid using `cabal` and `stack` and build and deploy
this application using `nix-shell` and `nix-build` only. Let's see how that
goes.
This commit is contained in:
William Carroll 2020-08-09 10:17:14 +01:00
parent e8f35f0d10
commit 119c8e9df9
6 changed files with 5 additions and 9 deletions

View file

@ -1,2 +1,7 @@
:set prompt "> " :set prompt "> "
:set -Wall :set -Wall
:set -XOverloadedStrings
:set -XNoImplicitPrelude
:set -XRecordWildCards
:set -XTypeApplications

View file

@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Fixtures where module Fixtures where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module GoogleSignIn where module GoogleSignIn where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,6 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE RecordWildCards #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Main where module Main where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Spec where module Spec where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,5 +1,3 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
module Types where module Types where
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------