From 632f47e19c0f8c1e586e50dbb7567914dc80bc75 Mon Sep 17 00:00:00 2001 From: Tony Morris Date: Fri, 20 Jun 2014 14:02:53 +1000 Subject: [PATCH] rebindable syntax --- .ghci | 1 + src/Course/State.hs | 1 + src/Course/StateT.hs | 1 + 3 files changed, 3 insertions(+) diff --git a/.ghci b/.ghci index 1dfd3ff..9b24c10 100644 --- a/.ghci +++ b/.ghci @@ -9,3 +9,4 @@ :set -XNoImplicitPrelude :set -XScopedTypeVariables :set -XOverloadedStrings +:set -XRebindableSyntax diff --git a/src/Course/State.hs b/src/Course/State.hs index cfbb44f..7e5d6d3 100644 --- a/src/Course/State.hs +++ b/src/Course/State.hs @@ -1,6 +1,7 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE InstanceSigs #-} +{-# LANGUAGE RebindableSyntax #-} module Course.State where diff --git a/src/Course/StateT.hs b/src/Course/StateT.hs index a9971eb..08130f2 100644 --- a/src/Course/StateT.hs +++ b/src/Course/StateT.hs @@ -1,6 +1,7 @@ {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE InstanceSigs #-} +{-# LANGUAGE RebindableSyntax #-} {-# LANGUAGE OverloadedStrings #-} module Course.StateT where