Skip to content

POC: PureScript in Signal Desktop - #2

Open
gasi wants to merge 108 commits into
developmentfrom
purescript
Open

gasi wants to merge 108 commits into
developmentfrom
purescript

Conversation

@gasi

@gasi gasi commented May 22, 2018 •

Copy link
Copy Markdown
Owner

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 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant