Skip to content

Instantly share code, notes, and snippets.

Avatar
✍️
Writing software

Boris Kuznetsov achempion

✍️
Writing software
View GitHub Profile
@achempion
achempion / monkey-patching.rb
Created Jan 27, 2015
православный манкипатчинг
View monkey-patching.rb
module MyStringThing
refine String do
def at(num)
self[num..num]
end
end
end
class A
View sample.hs
main :: IO ()
main = do
str <- getLine
let [a,b] = words str
return ((read a :: Int) + (read b :: Int))