jaredly / jaredly/jaredly.github.io

Async example

Offen
#10 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
9
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Quote from https://jaredforsyth.com/2017/06/23/when-will-reasonml-be-ready/:

> The OCaml community has some pretty fundamental fragmentations (there are three incompatible versions of the standard library, two incompatible ways to handle async), and documentation is generally pretty sparse. We’re hoping to establish good “batteries included” standard library (that will work for both js and native), but it will take some time.

To JS programmers, async pattern is very common nowadays, we are get used to it. Hence, been said that "there is no standard for async pattern in OCaml" made me worried how to convert my async codes into Reason counterpart.

It would be nice if there is a tutorial about how to do so in OCaml. (e.g. extend the Todo app to send the new item to a simple backend server)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Verwende den verlinkten Artikel und das Beispiel der Todo-App als Ausgangspunkte; identifiziere zunächst das Async-Muster und wie die App ein neues Element an ein Backend senden sollte. Als erledigt gilt eine Anleitung, die diesen Ablauf für Leser von Reason/OCaml und JavaScript erklärt und genügend Schritte zum Nachvollziehen enthält.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, ocaml
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.