Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am thiago-negri on github.
  • I am thiagonegri ( on keybase.
  • I have a public key ASBSDsTqHPh9NG1RXrKpqhmf_lWrnpzyPBFGREQZsNn7XAo

To claim this, I am signing this object:

View selectize_no_results.js
(function() {
// see
// extended from
// gist at
.define('no_results', function(options) {
var self = this;
options = $
thiago-negri / Main.hs
Created Aug 22, 2012
Cloud Haskell example
View Main.hs
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE TemplateHaskell #-}
module Main (main) where
import Prelude hiding (catch)
import System.Environment (getArgs, getProgName)
import Control.Monad (forM, replicateM_, forever, void, liftM)
import Data.Binary (Binary)
thiago-negri / Edsl.hs
Created Aug 15, 2012
Simple EDSL to test a calculator
View Edsl.hs
module Edsl where
-- Imports
import Control.Monad.Trans.State.Lazy
(State, evalState, modify, get)
import Data.Char
thiago-negri / gist:2706161
Created May 16, 2012
Sample telnet chat in Haskell
View gist:2706161
module Main(main) where
import Network
import System.IO
import Control.Monad
import Control.Concurrent
import Data.List
type Message = String