hermes-server: internal error: Invalid object in isRetainer(): 39 (GHC version 7.8.3 for x86_64_apple_darwin) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
This file contains hidden or 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
fn main() { | |
const BUFSIZE: uint = 500000; | |
let buf = &mut[0u8, .. BUFSIZE]; //500k buffer | |
loop { | |
let read_bytes = std::io::stdin().lock().read(buf); | |
match read_bytes { | |
Ok(v) => | |
if v == BUFSIZE { |
This file contains hidden or 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
{-# LANGUAGE RebindableSyntax, OverloadedStrings #-} | |
module Chronos.Foreign.Reflection where | |
import Fay.Text (Text, fromString) | |
import JQuery | |
import Prelude | |
import HTML | |
import qualified Fay.Text as T | |
import FFI | |
import qualified CodeMirror as CM |
This file contains hidden or 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
{-# LANGUAGE OverloadedStrings #-} | |
module Haste.JQuery where | |
import Haste.Foreign | |
import Haste.JSON | |
import Haste.Prim | |
import Haste hiding (Event) | |
-------------------------------------------------------------------------------- |
This file contains hidden or 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
{-# LANGUAGE OverloadedStrings #-} | |
module Haste.JQuery where | |
import Haste.Foreign | |
import Haste.JSON | |
import Haste.Prim | |
import Haste hiding (Event) | |
-------------------------------------------------------------------------------- |
This file contains hidden or 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
let | |
pkgs = import <nixpkgs> {}; | |
ghc = pkgs.ghc.ghc783; | |
myCabal = pkgs.haskellPackages.cabal.override { | |
extension = self : super : { | |
self.hyperlinkSource = false; | |
}; | |
}; | |
hsEnv = pkgs.haskellPackages.ghcWithPackages (hsPkgs : ([ | |
myCabal |
This file contains hidden or 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
From 68cebd2b5fc2ef449e725dfe08d857e43d61dd97 Mon Sep 17 00:00:00 2001 | |
From: Alfredo Di Napoli <[email protected]> | |
Date: Thu, 19 Jun 2014 08:54:06 +0200 | |
Subject: [PATCH] Tweaked docsym and Lexer as tentative fix for #8226 | |
--- | |
compiler/main/HeaderInfo.hs | 4 ---- | |
compiler/parser/Lexer.x | 6 +----- | |
2 files changed, 1 insertion(+), 9 deletions(-) |
This file contains hidden or 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
let | |
pkgs = import <nixpkgs> {}; | |
ghc = pkgs.ghc.ghc782; | |
hsEnv = pkgs.haskellPackages.ghcWithPackages (hsPkgs : ([ | |
hsPkgs.cabal | |
hsPkgs.happy | |
hsPkgs.alex | |
hsPkgs.cabalInstall_1_20_0_1 | |
])); |
This file contains hidden or 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
-- Sources: | |
-- http://www.haskellforall.com/2012/09/the-functor-design-pattern.html | |
-- http://www.haskell.org/haskellwiki/Functor | |
-- http://learnyouahaskell.com/functors-applicative-functors-and-monoids | |
-- Hide pre-existing Maybe and map function from Prelude. | |
import Prelude hiding (Maybe (..), map) | |
-- Import the Monadic composition operator. |