Subscribe to The Madman Scribblings        RSS Feed
- - - - -

[Nemerle] Creating an IF statement with an optional Else.

Icon 1 Comments
When I set out to create this macro, after having a couple of issues with the current if.
If( condition ){ truth statement }else{ falsehood statement }

  • In Nemerle an If statement always require an else.
    Which you don't always want to have to include.
  • Is that when returns a the void literal on false.

Page 1 of 1

Search My Blog

Recent Entries

Recent Comments