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")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, 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
Sg type signatures do not match in media projects

While modifying the scenegraph (Sg) in the view-function of my Media.app the signature suddenly does not match!

Expected is ISg<Message> but I only have ISg...

  
  
Posted one year ago
Edited one year ago
Votes Newest

Answers


The view function in media expects an ISg<Message>, but ISg is also implemented in Aardvark.Scenegraph.ISg. The types have the same name, but differ slightly, which conflicts with Aardvark.UI.ISg

Sg.noEvents (Aardvark.UI.F# Sg.Sg.noEvents) converts the regular ISg to a ISg<Message>

so your scenegraph looks something like this:

Sg.box (Mod.constant C4b.Green) (Mod.constant Box3d.Unit)
|> Sg.trafo myTrafo
|> Sg.effect effects
......
|> Sg.noEvents
  
  
Posted one year ago
Edited one year ago
411 Views
1 Answer
one year ago
one month ago
Tags