Examples

Here you'll find examples that demonstrate what you can do with Firefly. In fact, you're looking at an example right now - this site is written in Firefly and so is the Firefly compiler and language server .

Check the list here for examples and demos.

Next: Counting button
Firefly
Firefly
  • Getting started
  • Examples
    • Counting button
    • Matching passwords
    • Connecting to PostgreSQL
  • Reference
    • Modules and packages
    • Base types
    • User defined types
    • Statements and expressions
    • Functions and methods
    • Pattern matching
    • Traits and instances
    • Exceptions
    • Structured concurrency
    • JavaScript interop
  • Packages
  • Community