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 doesn't the uncons function output a tuple properly?

I've been trying to do the following using the uncons function, but it doesn't destructure as I expect it to:

(var l, var rvalues) = uncons(values);


This question was imported from Telegram Chat: https://t.me/tondev_eng/9422

Votes Newest

Answers


https://ton.org/docs/develop/func/stdlib#uncons

uncons works with lists, not regular tuples.

  
  
Posted one year ago
Jeremy
404 × 5 Administrator
16K Views
1 Answer
one year ago
one year ago
Tags