This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
{-# LANGUAGE RankNTypes, DeriveFunctor #-} | |
{-# LANGUAGE FlexibleInstances, TypeSynonymInstances #-} | |
module Main where | |
import Criterion.Main (defaultMain, bench, bgroup, nf) | |
-------------------------------------------------------------------------------- | |
-- Fixed points of a functor | |
newtype Mu f = Mu { muF :: f (Mu f) } |
Require Import Utf8. | |
Inductive subtype (a b : Set) : Set := | |
| ST : (a -> b) -> subtype a b. | |
Infix ":>" := subtype (at level 50). | |
Definition st {x y} f := ST x y f. | |
Definition unpack {a b : Set} (st : a :> b) := |
module Weird where | |
open import Coinduction | |
open import Function | |
open import Data.Empty | |
open import Data.Product | |
open import Data.Conat | |
open import Relation.Nullary | |
open import Relation.Nullary.Negation | |
open import Relation.Unary as U |
{-# Language ExistentialQuantification, GADTs #-} | |
module Control.Process where | |
import Data.Monoid | |
import Prelude hiding (zip, zipWith) | |
import Control.Applicative | |
import System.IO | |
data Process f a = Halt |
{-# LANGUAGE MagicHash, UnboxedTuples, BangPatterns #-} | |
module Main where | |
import Data.Int | |
import System.Environment | |
import GHC.Int | |
import GHC.Prim |
{-# LANGUAGE TypeFamilies, ConstraintKinds, GADTs, TypeOperators, UndecidableInstances #-} | |
{-# LANGUAGE CPP #-} | |
import Prelude hiding ((.)) | |
import Data.VectorSpace | |
import Data.Category | |
import Data.Category.Limit | |
type a :* b = (a,b) |
{-# OPTIONS_GHC -fno-warn-orphans #-} | |
{-# LANGUAGE BangPatterns #-} | |
{-# LANGUAGE DeriveFunctor #-} | |
{-# LANGUAGE DeriveFoldable #-} | |
{-# LANGUAGE DeriveTraversable #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
{-# LANGUAGE NamedFieldPuns #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE StandaloneDeriving #-} |
https://github.com/llvm-mirror/llvm/blob/master/lib/AsmParser/LLParser.cpp https://github.com/llvm-mirror/llvm/blob/master/lib/AsmParser/LLParser.h
https://github.com/llvm-mirror/llvm/blob/master/utils/llvm.grm
https://github.com/llvm-mirror/llvm/tree/master/lib/AsmParser
https://github.com/llvm-mirror/llvm/blob/master/lib/AsmParser/LLToken.h
{-# LANGUAGE TemplateHaskell #-} | |
module Main | |
where | |
import System.Environment (getArgs) | |
import Data.ByteString.Char8 (pack) | |
import Control.Distributed.Process (say, Process, spawnLink, RemoteTable) | |
import Control.Distributed.Process.Node (newLocalNode, initRemoteTable, runProcess, localNodeId, LocalNode(..)) | |
import Control.Distributed.Process.Internal.Types (NodeId(..)) |