Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Why does FunC use ;; for comments?

Is there any specific reason why single line comments in FunC start with ;; and not something more common like //? It feels very odd.


This question was imported from Telegram Chat: https://t.me/tondev/64352

  
  
Posted one year ago
Votes Newest

Answers


I guess that's because of the way special characters like ?!:/ are accepted in variable and function names. If // was used for single line comments then at the end of lines without a semicolon, you had to put a space before them, or else they'd be treated as part of an identifier's name.

Semicolon is not allowed in identifier names and so it can be used without a problem as single line comments.

  
  
Posted one year ago
17K Views
1 Answer
one year ago
one year ago
Tags