Skip to content

Instantly share code, notes, and snippets.

View bstack's full-sized avatar

bstack bstack

View GitHub Profile
open System
let resolveEncryptedLetter (letterToEncrypt:char, keywordLetter) =
let alphabet = "abcdefghijklmnopqrstuvwxyz"
alphabet.Split [| keywordLetter |]
|> Array.rev
|> Array.append [| keywordLetter |> string |]
|> Array.reduce (+)
|> Seq.toArray
|> fun rowOrderedByKeywordLetter
// Kleisli category example in f#
// Simulating
[<EntryPoint>]
let main argv =
printfn "%A" argv
// Declare 'the fish' monad
// (a' -> b * bool) -> (b -> c * bool) -> a -> (c * bool)
let (>=>) m1 m2 x =
let (y, result1) = m1 x
@bstack
bstack / mentoring_notes.txt
Last active October 21, 2015 10:55
Mentoring notes
Two types of professional
- Those who care about their craft
- 9/5 people that dont
Art finding a mentor:
- Dont want the same year, for the last 10 years
- Dont be happy with the status quo - try to get working closely with different "reknowned" people in the organisation
- Ask questions, actively search
- First mentor quite often determines the path you go down