Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add old deepseq support for travis-ci #6

Merged
merged 1 commit into from

1 participant

@maoe
Owner

I've confirmed this patch works on Travis CI: http://travis-ci.org/#!/maoe/euphoria/builds/1774855

@maoe maoe closed this
@maoe maoe reopened this
@maoe maoe merged commit 6c8750e into tsurucapital:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 4, 2012
  1. @maoe
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 1 deletion.
  1. +7 −1 FRP/Euphoria/Event.hs
View
8 FRP/Euphoria/Event.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE DeriveFunctor, MultiParamTypeClasses, DeriveDataTypeable, BangPatterns, DoRec #-}
+{-# LANGUAGE CPP, DeriveFunctor, MultiParamTypeClasses, DeriveDataTypeable, BangPatterns, DoRec #-}
-- For EasyApply
{-# LANGUAGE FlexibleInstances, FunctionalDependencies #-}
@@ -742,6 +742,12 @@ rnfD = forceD . fmap force
rnfE :: (NFData a) => Event a -> SignalGen (Event a)
rnfE = forceE . fmap force
+#if !MIN_VERSION_deepseq(1,2,0)
+force :: NFData a => a -> a
+force x = x `deepseq` x
+#endif
+
+
--------------------------------------------------------------------------------
-- SignalSet
Something went wrong with that request. Please try again.