emptyflash / yinlang

ML-style language that compiles to GLSL for livecoding visuals
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

Add top level type ascription #1

Closed emptyflash closed 3 years ago

emptyflash commented 4 years ago

Sometimes the type inference can't figure out the input types from their usage in the function, and glsl doesn't support generics in user code (it has genType but that's only for internal methods)

emptyflash commented 3 years ago

Done!