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

Open
wants to merge 108 commits into
base: development
from
Open

POC: PureScript in Signal Desktop #2

wants to merge 108 commits into from

Conversation

@gasi
Copy link
Owner

@gasi gasi commented May 22, 2018

Highlights

  • 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 Feb 17, 2018
- 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.
gasi added 30 commits Mar 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant