pony-patterns icon indicating copy to clipboard operation
pony-patterns copied to clipboard

:horse: A cookbook style book of patterns for Pony

Results 9 pony-patterns issues
Sort by recently updated
recently updated
newest added

Hardest part of this was naming the pattern. Feel free to revise that or any part of the text. Appreciate Sean's help in getting to this solution for my project...

This one is going to take a while to write. Opening this for initial comment. **DO NOT MERGE** At this point, I'm looking for feedback on the explanation of the...

In performance patterns. You can use function parameterization to avoid boxing/unboxing primitives (a serious perf slowdown). This is going to bite people coming from dynamic languages if they use Any...

help wanted

This comes up often. Writing generic functions over number types. For example a reasonable naive example might be: ```pony class Block[T: Unsigned] var data: T new create(data': T) => data...

help wanted

Value classes are classes that serve as (mostly immutable) containers for 1 or more values (their fields). To make them actually usable with pony, they need to be Equatable (e.g....

Currently if you visit https://patterns.ponylang.org/ there's no information on how one can contribute. In order to get more folks using/adding to Pony Patterns, we should include that information.

It has been raised as a question several times and is worth explaining as a pony pattern. An example from @SeanTAllen is here: ```pony actor Main new create(env: Env) =>...

from 0.58.2 release tasks: Add a Pony pattern about the new constrained types package under a new section "domain modeling"