Skip to content

Terminal with no schedules#178

Closed
jmatsushita wants to merge 41 commits into
turion:dev_event_monadfrom
jmatsushita:terminal-noschedule
Closed

Terminal with no schedules#178
jmatsushita wants to merge 41 commits into
turion:dev_event_monadfrom
jmatsushita:terminal-noschedule

Conversation

@jmatsushita
Copy link
Copy Markdown
Contributor

Rebased #165 onto #172 to test the new interface.

Implemented a MonadSchedule instance, and had to use a haskell-terminal fork as predicted and reopened a corresponding PR upstream.

@jmatsushita jmatsushita changed the base branch from master to dev_event_monad July 8, 2022 16:20
@jmatsushita
Copy link
Copy Markdown
Contributor Author

Currently stuck on

TerminalSimple.hs:98:24: error:
    • No instance for (Clock App InputClock)
        arising from a use of ‘|@|’
    • In the expression: inputRhine |@| promptRhine
      In an equation for ‘mainRhine’:
          mainRhine
            = inputRhine |@| promptRhine
            where
                inputRhine :: Rhine App InputClock () ()
                inputRhine = inputSource >-> inputSink @@ inputClock
                promptRhine :: Rhine App PromptClock () ()
                promptRhine = promptSource >-> promptSink @@ liftClock waitClock
   |
98 | mainRhine = inputRhine |@| promptRhine

@jmatsushita
Copy link
Copy Markdown
Contributor Author

jmatsushita commented Jul 8, 2022

Oh I think it's because of SelectClock as pointed out here.

@turion
Copy link
Copy Markdown
Owner

turion commented Jul 21, 2023

Superseded by #171

@turion turion closed this Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants