Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: PureScript in Signal Desktop #2

wants to merge 108 commits into
base: development
Choose a base branch

POC: PureScript in Signal Desktop #2

wants to merge 108 commits into from


Copy link

@gasi gasi commented May 22, 2018


  • Define types such as Message, Conversation, based on researching and reconstructing the shape and types of existing and legacy data in IndexedDB as well as how the current app consumes data, etc.
  • Build raw IndexedDB access layer using purescript-indexeddb.
  • Parse existing IndexedDB data into strong types.
  • Attachment type module passes existing unit tests.
  • Render conversation view using PureScript Halogen library (similar to React) integrated with existing code.
  • Showcase simple FFI for:
    • libphonenumber
    • Conversation.compareTitle
    • Avatar.hashCode
  • Showcase the power of case expressions and compile-time checking that all cases have been handled:

gasi added 30 commits March 22, 2018 00:42
- Compiler: `purescript`
- Build tool: `pulp`
This will allow us to use `Message` for our union type of the different message
types, e.g. incoming, outgoing, verified-change, keychange, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
1 participant