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
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 |
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
// 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 |
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
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 | |