100 karma · joined May 16, 2012
ParserUtils is where maybeIndented and indented are. They make indentation just work. There currently overzealous with backtracking though, makes errors kinda shit. Working on that at somepoint.
https://gist.github.com/xavierzwirtz/99479a11f1eefd3215467f7...
type Address = { street : string; city : string option }
type Author = { name : string; email : string; address : Address option }
type Article = { title : string; content : string; author : Author option }
let printCity (article : Article) =
article.author
|> Option.bind(fun author -> author.address)
|> Option.bind(fun address -> address.city)
|> Option.iter(fun city -> printfn "%s" city)[0] https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin
Shame on whoever downvoted you. Add knowledge to the discussion instead of downvoting someone you disagree with. [0] http://stackoverflow.com/questions/849416/evaluate-quoted-ex...
Edit: Everything looks to be golden again.
Not very well documented, but it is apparently a way to check if the current user is a automated tester.