Browse Source

Added extra command-methods to the console project.

I've got to say, F# does offer a lot of cool stuff which C# can't. I bloody-well love the back-tick let-binding.
master
Craig Oates 4 years ago
parent
commit
06816e7e5f
  1. 9
      BrittleFish/ConsoleCommands.fs

9
BrittleFish/ConsoleCommands.fs

@ -44,3 +44,12 @@
[<Usage "> libtest3 \"Craig Oates\"">]
let libtest3 name = String.Format("Result: {0}", LibraryTest3 name)
// this is fine AND SWEET!
let ``test 4`` = "Hi there"
// this only works when you type "test-5" not ideal but better then nothing
let ``test-5`` = "Hi there"
// this is also fine... f# does open things up a bit more than C#... SWEET!
let """test 6""" = "Hi there"

Loading…
Cancel
Save