Skip to content
Snippets Groups Projects
  1. Dec 17, 2022
    • Jean-Paul Calderone's avatar
      Do it the right-ish way, with performEvent instead of unsafePerformIO · dbe30d24
      Jean-Paul Calderone authored
      The key insight here is that the type of _frontend_body does not bring enough
      constraints along to use performEvent, even though the execution
      context (native, anyway) can satisfy those constraints.
      
      Splitting the code out into a separate function made the compiler error much
      more understandable for me and it just became a matter of adding the necessary
      typeclass constraints.
      
      It remains to be seen whether this approach actually gives you something that
      will work on Android, though.
      dbe30d24
  2. Dec 15, 2022
  3. Dec 14, 2022
  4. Dec 13, 2022
  5. Dec 12, 2022
  6. Dec 08, 2022
  7. Dec 06, 2022
  8. Nov 28, 2022
Loading