Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.javascript > #3240

Un patron de conception d'API orienté fonctionnel

Message-ID <AQTUNDunVJJ9v2s6dajPsPKABhA@jntp> (permalink)
Subject Un patron de conception d'API orienté fonctionnel
Newsgroups fr.comp.lang.javascript, fr.sci.maths
Date 2020-10-17 22:44 +0000
Organization Nemoweb
From Julien Arlandis <julien.arlandis@gmail.com>

Cross-posted to 2 groups.

Show all headers | View raw


Bonsoir,

Je vous présente bebel, un patron de conception d'API orienté 
fonctionnel :
https://github.com/bebeljs/bebel
Le sujet n'a pas de rapport direct avec les mathématiques mais la 
discussion en cours sur les langages fonctionnels m'a inspiré pour donner 
à cette librairie une direction qui pourrait la rendre utile pour le 
calcul distribué.
Voici à titre d'exemple, une commande qui peut facilement être traitée 
de manière distribuée via un maillage de serveurs bebel :
["square", ["sum", [2, ["square", ["sum", [2, 3]]]]]]
=>
["square", ["sum", [2, ["square", 5]]]]
=>
["square", ["sum", [2, 25]]]
=>
["square", 27]
=>
729

PS : bebel est utilisé depuis 2014 pour la couche transport du projet 
Nemo pour distribuer usenet sur les navigateurs.


-- 
Ce message a été posté avec Nemo : <http://news2.nemoweb.net/?DataID=AQTUNDunVJJ9v2s6dajPsPKABhA@jntp>

Back to fr.comp.lang.javascript | Previous | NextNext in thread | Find similar


Thread

Un patron de conception d'API orienté fonctionnel Julien Arlandis <julien.arlandis@gmail.com> - 2020-10-17 22:44 +0000
  Re: Un patron de conception d'API orienté fonctionnel Joe Cool <zierouhli@free.fr> - 2020-10-18 18:00 +0200
    Re: Un patron de conception d'API orienté fonctionnel Julien Arlandis <julien.arlandis@gmail.com> - 2020-10-18 18:28 +0000
      Re: Un patron de conception d'API orienté fonctionnel Joe Cool <zierouhli@free.fr> - 2020-10-18 20:43 +0200
        Re: Un patron de conception d'API orienté fonctionnel Julien Arlandis <julien.arlandis@gmail.com> - 2020-10-18 19:24 +0000
          Re: Un patron de conception d'API orienté fonctionnel Richard Hachel <r.hachel@moules-frites.fr> - 2020-10-18 19:37 +0000
        Re: Un patron de conception d'API orienté fonctionnel Joe Cool <zierouhli@free.fr> - 2020-10-18 22:15 +0200
          Re: Un patron de conception d'API orienté fonctionnel Lanarcam <lanarcam1@yahoo.fr> - 2020-10-18 22:45 +0200
          Re: Un patron de conception d'API orienté fonctionnel Julien Arlandis <julien.arlandis@gmail.com> - 2020-10-18 21:02 +0000
            Re: Un patron de conception d'API orienté fonctionnel Joe Cool <zierouhli@free.fr> - 2020-10-18 23:20 +0200
            Re: Un patron de conception d'API orienté fonctionnel pehache <pehache.7@gmail.com> - 2020-10-19 06:57 +0000
          Re: Un patron de conception d'API orienté fonctionnel Samuel DEVULDER <samuel_dot_devulder@laposte_dot_net.invalid> - 2020-10-19 09:27 +0200
    Re: Un patron de conception d'API orienté fonctionnel zeLittle de Médicis, un gueux <noreply@noreply> - 2021-04-28 09:27 +0200

csiph-web