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
[mm] λ stack unpack haddock-library-1.4.5 | |
Cabal file info not found for haddock-library-1.4.5, updating | |
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ | |
Downloading root | |
Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ | |
Downloading timestamp | |
Downloading snapshot | |
Downloading mirrors | |
Cannot update index (no local copy) | |
Downloading index |
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
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
const int sz = 10; | |
for (int i = 0; i < sz; i++) { | |
for (int j = 0; j < sz; j++) { | |
if (i == 0 || i == sz - 1) |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; GLOBAL AUXILIARY FUNCS, before working on real project code ; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; first, convert to Haskel-ish notations | |
(require srfi/1) | |
(define (oldtake l n) (take l n)) | |
(define (olddrop l n) (drop l n)) | |
; Haskell-ish take and drop |
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
mihai@keldon:~$ apt-get moo | |
(__) | |
(oo) | |
/------\/ | |
/ | || | |
* /\---/\ | |
~~ ~~ | |
...."Have you mooed today?"... | |
mihai@keldon:~$ aptitude -v moo | |
There really are no Easter Eggs in this program. |