This file contains 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
module A1 where | |
-- Bool 型 | |
data Bool : Set where | |
true : Bool | |
false : Bool | |
-- パターンマッチや中値記法 | |
_or_ : Bool -> Bool -> Bool |
This file contains 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
package models | |
import dispatch._, Defaults._ | |
object YoClient{ | |
val APIKey = "YOUR_YO_API_KEY" | |
private def makeRequest(endpoint: String, args: Traversable[(String,String)]): Future[String] = |
This file contains 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
module PolyP where | |
open import Function | |
open import Level | |
----------------------------------------- | |
----- polytypic programming in agda ----- | |
data List {a} (A : Set a) : Set a where | |
[] : List A | |
Cons : (x : A) (xs : List A) → List A |
This file contains 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
function poke(){ | |
var a = document.getElementsByTagName('a'); | |
for (var i=0;i<a.length;i++) { if (a[i].text == "Pokeを返す") a[i].click()} | |
} | |
setInterval(poke, 100); | |
This file contains 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
module PolyP where | |
open import Function | |
open import Level | |
open import Data.Nat | |
----------------------------------------- | |
----- polytypic programming in agda ----- | |
data List {a} (A : Set a) : Set a where | |
[] : List A | |
Cons : (x : A) (xs : List A) → List A |
This file contains 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
module PolyP where | |
open import Function | |
open import Level | |
open import Data.Nat | |
----------------------------------------- | |
----- polytypic programming in agda ----- | |
data List {a} (A : Set a) : Set a where | |
[] : List A | |
Cons : (x : A) (xs : List A) → List A |
This file contains 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
module mgu where | |
open import Data.Unit hiding (_≤_) | |
open import Data.Nat hiding (fold) | |
open import Data.Nat.Properties | |
open import Data.Fin hiding (_+_; _≤_; fold) | |
open import Data.Sum | |
open import Data.Product | |
open import Data.Maybe | |
open import Function using (_∘_) |
This file contains 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
alias ls='ls -F' | |
alias ll='ls -la' | |
alias la='ls -a' | |
alias rails='' | |
alias emacs="/usr/local/Cellar/emacs/24.4/bin/emacs" | |
export EDITOR=/Applications/MacVim.app/Contents/MacOS/Vim | |
alias vim='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"' | |
export PATH=$PATH:/usr/local/bin:~/Library/Haskell/bin | |
alias ochacaml='ledit ochacaml' | |
export SCALA_HOME=/Users/kyoko/scala-2.10.3 |
This file contains 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
alias ls='ls -F' | |
alias ll='ls -la' | |
alias la='ls -a' | |
alias rails='' | |
alias emacs="/usr/local/Cellar/emacs/24.4/bin/emacs" | |
alias ans='/Applications/Android\ Studio.app' | |
export EDITOR=/Applications/MacVim.app/Contents/MacOS/Vim | |
alias vim='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$@"' | |
export PATH=$PATH:/usr/local/bin:~/Library/Haskell/bin | |
alias ochacaml='ledit ochacaml' |
This file contains 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
SHELL=/bin/sh | |
ifndef SKETCH_DIRECTORY | |
SKETCH_DIRECTORY = ${CURDIR} | |
endif | |
ifndef OUTPUT_FOLDERNAME | |
OUTPUT_FOLDERNAME = output | |
endif |