Skip to content

Instantly share code, notes, and snippets.

Harry Garrood hdgarrood

Block or report user

Report or block hdgarrood

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Main.purs
module Main where
import Prelude
import Data.Either
import Data.Functor.Compose
import Control.Monad.Eff.Console (print)
class Convert a b where
convert :: a -> b
View Main.purs
module Main where
import Prelude
import Data.Maybe (Maybe)
import Data.List (List)
import Control.Monad.Eff.Console (print)
import Control.Comonad.Cofree (Cofree, mkCofree, head, tail)
import Control.Alternative (class Alternative)
import Control.Plus (empty)
View needs-reupload.md

The following packages use operator aliases and appear to have been generated with version 0.8.0 of the compiler. Since the encoding for operator aliases changed in 0.8.1, these need to be regenerated:

  • flare 0.4.3
  • flare 0.5.0
  • difflists 3.0.1-pursuit
  • difflists 3.0.1
  • neon 0.4.0
  • neon 0.4.1
  • nonempty 0.2.0
  • rationals 0.3.1
@hdgarrood
hdgarrood / Main.purs
Last active Feb 16, 2016
`*>` is not `flip <*`!
View Main.purs
module Main where
import Prelude
import Data.Monoid
import Control.Apply as Apply
import Control.Monad.Writer
import Control.Monad.Eff.Console (log, print)
main = do
print (runWriter (f "hi" Apply.<* f " world"))
View missing.txt
purescript-aff 0.11.0
purescript-batteries 0.2.2
purescript-batteries 0.2.3
purescript-batteries 0.2.4
purescript-batteries 0.2.5
purescript-batteries 0.3.0
purescript-batteries 0.4.0
purescript-batteries 0.5.0
purescript-batteries 0.5.1
purescript-behaviors 0.1.0
View previous-package-list.json
{"purescript-ace":["0.10.1","0.9.0"],"purescript-ace-halogen":["0.4.0"],"purescript-aff":["0.11.0","0.11.1","0.11.2","0.11.3","0.12.0","0.13.0","0.13.1","0.14.0"],"purescript-aff-coroutines":["0.2.1","0.3.0","0.4.0","0.4.1","0.4.2"],"purescript-affjax":["0.10.0","0.10.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.6.0","0.7.0","0.8.0","0.8.1","0.9.0"],"purescript-ansi":["0.1.0","0.1.1","0.1.2","0.1.3"],"purescript-apparch":["0.1.0"],"purescript-argonaut-codecs":["0.5.0","0.5.1","0.5.2","0.6.0","0.6.1"],"purescript-argonaut-core":["0.2.2","0.2.3"],"purescript-argonaut-traversals":["0.6.0","0.7.0"],"purescript-arrays":["0.4.0","0.4.1","0.4.2","0.4.3","0.4.4"],"purescript-arrows":["0.6.0","0.6.1","0.6.2"],"purescript-assert":["0.1.0","0.1.1"],"purescript-base64":["2.0.1","2.0.2"],"purescript-batteries":["0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.4.0","0.5.0","0.5.1"],"purescript-behaviors":["0.1.0"],"purescript-benchotron":["2.1.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4"],"purescript-bifunctors":["0.4.0"],"puresc
View pursuit-data.json
[{"packageName":"purescript-aff","versions":["0.11.0","0.11.1","0.11.2","0.11.3","0.12.0","0.13.0","0.13.1","0.14.0"]},{"packageName":"purescript-aff-coroutines","versions":["0.2.1","0.3.0","0.4.0","0.4.1","0.4.2"]},{"packageName":"purescript-affjax","versions":["0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.6.0","0.7.0","0.8.0","0.8.1","0.9.0","0.10.0","0.10.1"]},{"packageName":"purescript-arrays","versions":["0.4.0","0.4.1","0.4.2","0.4.3","0.4.4"]},{"packageName":"purescript-arrows","versions":["0.6.0","0.6.1","0.6.2"]},{"packageName":"purescript-assert","versions":["0.1.0","0.1.1"]},{"packageName":"purescript-batteries","versions":["0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.4.0","0.5.0","0.5.1"]},{"packageName":"purescript-benchotron","versions":["2.1.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4"]},{"packageName":"purescript-bifunctors","versions":["0.4.0"]},{"packageName":"purescript-bigints","versions":["0.1.0","0.2.0","0.2.1"]},{"packageName":"purescript-canvas","versions":["0.3.0","0.3.1","0.3.2","0.3.3","0.
View Main.purs
module Main where
import Prelude
import Control.Bind ((=<<))
import Control.Monad (when)
import Control.Monad.Eff (Eff())
import Control.Monad.Eff.Var (($=), get, Var(), makeVar)
import Control.Monad.Eff.Console (CONSOLE(), log)
import Control.Monad.Eff.Console.Unsafe (logAny)
View arrays.docs.patch
diff --git a/docs/Data/Array.md b/docs/Data/Array.md
index 4e4a3d9..8bd12a4 100644
--- a/docs/Data/Array.md
+++ b/docs/Data/Array.md
@@ -101,6 +101,8 @@ termination.
null :: forall a. Array a -> Boolean
```
+Test whether an array is empty.
+
View Neon.md

Module Neon

Re-exported from Neon.Class:

Add

class Add a where
  add :: a -> a -> a
You can’t perform that action at this time.