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
| # Create a fresh repo | |
| $ git init testsquash | |
| Initialized empty Git repository in /Users/jon/Code/Sterf/testsquash/.git/ | |
| $ cd testsquash | |
| # Commit a file to master | |
| $ echo foo >> file | |
| $ git add . |
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
| // See https://brianmckenna.org/blog/evenodd_agda_idris_haskell_scala | |
| sealed trait Nat | |
| trait Z extends Nat | |
| case object Z extends Z | |
| case class S[N <: Nat](n: N) extends Nat | |
| sealed trait Even[N <: Nat] | |
| trait EvenZ extends Even[Z] | |
| case object EvenZ extends EvenZ |
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
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| "sync/atomic" | |
| "unsafe" | |
| ) | |
| type Owner unsafe.Pointer |
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
| { | |
| "name": "streamy", | |
| "version": "0.0.1", | |
| "dependencies": { | |
| "most": "1.5.0" | |
| }, | |
| "devDependencies": { | |
| "@types/node": "^8.0.18" | |
| } | |
| } |
OlderNewer