I hereby claim:
- I am swerling on github.
- I am swerling (https://keybase.io/swerling) on keybase.
- I have a public key ASCiJZ06w6yQyCraHyPchgvCBWL0OCV1KNl7SCbzRviPrwo
To claim this, I am signing this object:
| the Dorian used 0.00039800 know. 0.04128765358980413 want I to 0.00092700 Gray | |
| 0.00008100 I you What 0.00079500 what you want. want do 0.00001000 | |
| turning round. exclaimed 0.00063700 I dont know 0.00053500 0.00074800 | |
| he dont 0.00005400 mean Basil you 0.00086500 what know 0.00080200 | |
| be 0.00070700 I that 0.00028500 0.00022700 some Dorianor day. shall | |
| am 0.00067400 Well vain. to 0.00005500 I for punished be 0.00008200 | |
| me 0.00005500 owe 0.00050800 I You you. taught only 0.00032800 to | |
| Harry at said lastmore 0.00097100 0.00097900 Basil he 0.00006900 than | |
| 0.00089000 0.00047200 moments. great deal I 0.00078500 to a owe few | |
| 0.00064200 green the garden 0.00060700 flickering for 0.00014600 a |
I hereby claim:
To claim this, I am signing this object:
| import fruitbase, future, sequtils, algorithm | |
| # (copied from http://goran.krampe.se/2014/12/03/nim-seq/) | |
| # Collections are very important in Smalltalk, and they offer a huge protocol | |
| # for working with them. The workhorse in Smalltalk is OrderedCollection - which | |
| # together with Dictionary probably covers 90% of all collection use. | |
| # In Nim the equivalent of an OrderedCollection is the type `seq`. | |
| # | |
| # This is a little rundown of what you can do with seq using stdlib. |
| import math | |
| # copied from http://goran.krampe.se/2014/12/03/nim-seq/ | |
| # Dollars and Kgs | |
| type | |
| Dollar* = distinct float | |
| Kg* = distinct float | |
| proc `$`*(x: Dollar) :string = |
| # Example program at the bottom. This gist can be copy/pasted into a file and run | |
| #================= MotoObservable | |
| require 'set' | |
| # 1. Subscribe using 'when, send, to' terminology to register any method on any object as an event callback | |
| # 2. Use 'trigger_event' to trigger an event along with arbitrary number of arguments | |
| # 3. Simple way of unregistering |