Closed B-rando1 closed 4 months ago
I'm just looking to confirm my assumption about multiType. GOOL has a multiType function as part of the RenderType typeclass in RendererClasses.hs:
multiType
RenderType
RendererClasses.hs
https://github.com/JacquesCarette/Drasil/blob/e974d5af2f0f4e2433b5066aeed4d17499766557/code/drasil-gool/lib/GOOL/Drasil/RendererClasses.hs#L89-L91
It's implemented like so in SwiftRenderer.hs:
SwiftRenderer.hs
https://github.com/JacquesCarette/Drasil/blob/e974d5af2f0f4e2433b5066aeed4d17499766557/code/drasil-gool/lib/GOOL/Drasil/LanguageRenderer/SwiftRenderer.hs#L212-L217
As far as I can tell this is for defining tuple types. Could I get a confirmation though? Thanks.
Your assumption is correct.
The question has been answered, so we can close this issue. :smile:
I'm just looking to confirm my assumption about
multiType
. GOOL has amultiType
function as part of theRenderType
typeclass inRendererClasses.hs
:https://github.com/JacquesCarette/Drasil/blob/e974d5af2f0f4e2433b5066aeed4d17499766557/code/drasil-gool/lib/GOOL/Drasil/RendererClasses.hs#L89-L91
It's implemented like so in
SwiftRenderer.hs
:https://github.com/JacquesCarette/Drasil/blob/e974d5af2f0f4e2433b5066aeed4d17499766557/code/drasil-gool/lib/GOOL/Drasil/LanguageRenderer/SwiftRenderer.hs#L212-L217
As far as I can tell this is for defining tuple types. Could I get a confirmation though? Thanks.