Skip to content

Instantly share code, notes, and snippets.

View agumonkey's full-sized avatar

gum agumonkey

  • NONE
  • Dark side of the moon @ ['tkf8-2-1', 'ay21-3', '3263-827']
View GitHub Profile

I like LYAH as a reference and cheat-sheet but I found it a little slow for learning Haskell.

Here's my recommended order for just learning Haskell:

http://yannesposito.com/Scratch/en/blog/Haskell-the-Hard-Way/ 80% completion here is fine if you feel your attention waning, the next thing will address hammering in things like functors and monads via typeclasses.

https://github.com/NICTA/course/ this will hammer in the lessons in a very direct form by forcing you to confront the challenges and lessons learned by the creators and community of Haskell itself. Doing the exercises here is critical for being fluent.

Real World Haskell is available online. I recommend it as a reference only.

<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
#main{
padding:4px;
cursor: pointer;
@agumonkey
agumonkey / index.html
Last active August 29, 2015 14:21 — forked from anonymous/index.html
readable / neigh
<html class="js no-touch geolocation fontface generatedcontent svg formvalidation placeholder boxsizing no-retina" lang="en" dir="ltr" style=""><!--<![endif]--><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="prefetch" href="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js">
<meta name="application-name" content="Python.org">
<meta name="msapplication-tooltip" content="The official home of the Python Programming Language">
<meta name="apple-mobile-web-app-title" content="Python.org">
<meta name="apple-mobile-web-app-capable" content="yes">
@agumonkey
agumonkey / index.html
Created May 24, 2015 08:04 — forked from anonymous/index.html
jQuery wrapAll
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.wrapper {
background-color: rgba(1, 1, 1, 0.01);
border: 1px solid rgba(1, 1, 1, 0.02);
@agumonkey
agumonkey / index.html
Last active August 29, 2015 14:21 — forked from anonymous/index.html
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
menuentry "Antergos" {
iso_path="/boot/iso/antergos-2014.08.07-x86_64.iso"
search --no-floppy --file ${iso_path} --set
live_args="for-arch --> img_loop=${iso_path} img_dev=/dev/sda1 earlymodules=loop"
custom_args=""
iso_args="archisobasedir=arch archisolabel=ANTERGOS quiet"
loopback loop ${iso_path}
linux (loop)/arch/boot/vmlinuz ${live_args} ${custom_args} ${iso_args}
initrd (loop)/arch/boot/archiso.img /boot/iso/additional-initramfs/initramfs
}
@agumonkey
agumonkey / lisp.c
Last active September 9, 2015 23:45 — forked from sanxiyn/lisp.c
Lisp
#include <assert.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
enum type {
NIL,
@agumonkey
agumonkey / gist:f54329d26b0a78130192
Created October 13, 2015 13:12 — forked from philfreo/gist:7257723
Facebook Perl source code from 2005. When browsing around thefacebook.com in 2005 the server spit out some server-side source code rather than running it. I believe this was for their old graph feature that let you visualize the graph between all your friends. The filename is `mygraph.svgz` and contains some gems such as a commented out "zuck" d…
#!/usr/bin/perl
use Mysql;
use strict;
use vars qw($school_name);
use vars qw($pass);
require "./cgi-lib.pl";
<?php
namespace CHH;
trait MetaObject
{
protected static $__metaClass;
static function setMetaClass(MetaClass $metaClass)
{
@agumonkey
agumonkey / parscope.el
Last active December 19, 2015 01:29 — forked from nickpascucci/parscope.el
added missing (provide ...), discovery/debug, wip
;;; parscope.el --- Minor mode for showing the current scope in Lisp-like languages.
;; Copyright (C) 2013 Nick Pascucci
;; Author: Nick Pascucci <npascut1@gmail.com>
;; Created: 22 Jun 2013
;; Keywords: tools
;; Version: 0.1.0
;; URL: https://gist.github.com/nickpascucci/5842987