Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #h
  • #ha
  • #has
RSS: #haskell

#haskell

  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 27/12/2018

    #arcsecond : #parsing in #javascript made easy
    ▻https://hackernoon.com/arcsecond-parsing-in-javascript-made-easy-af1894bdcec9?source=rss----3a8

    https://cdn-images-1.medium.com/max/697/1*tsHrUKwQXG1YZX0l957ISw.png

    Gandalf should have used arcsecondI recently starting making a serious attempt at learning #haskell (anyone who has tried before will probably sympathise that it usually takes a couple of tries to crack it). Amongst the many cool things Haskell has to offer is an amazing parsing library that comes with the standard set of packages called Parsec, which lets you describe how to parse complex grammars in what essentially looks like natural language.Here is how a CSV parser is implemented using Parsec. Don’t worry if you don’t understand all the syntax, the point is that the whole parser is specified in just four lines.▻https://medium.com/media/f0ddf1f7616431dd0a521dfec70a9006/hrefThis post is not about Haskell however, but rather a library I wrote called arcsecond which is based on Parsec, (...)

    #functional-programming

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 24/06/2018

    #monads and More in 5 Minutes or Less
    ▻https://hackernoon.com/monads-and-more-in-5-minutes-or-less-80d71f19dc11?source=rss----3a8144ea

    Plain English not Crazy JargonThe necessity of monads in #haskell maintains the pure functionality of the language but can test the patience of its programmers. An understanding of monads is essential if you want to work with Haskell. This tutorial offers a quick look at the structure of the Monad typeclass. While you’ll need familiarity with Haskell, specifically, to understand how to tackle its Monad typeclass, the concepts presented in this tutorial are easily transferred to other languages. We’ll also be covering the #applicative and #functor typeclasses. Let’s start with the boring, technical definition. A monad is a particular typeclass that is primarily composed of 2 functions, bind and return. This is simple enough, right? Now let’s break down some terminology and find out why these 2 (...)

    #functional-programming

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @linuxfr
    LinuxFr.org @linuxfr CC BY 23/01/2017

    Sortie de GHC 8.0.2 et une petite histoire de typage statique
    ▻http://linuxfr.org/news/sortie-de-ghc-8-0-2-et-une-petite-histoire-de-typage-statique

    GHC, le compilateur Haskell le plus utilisé, est sorti en version 8.0.2 ; vous pouvez consulter l’annonce de la sortie datée du 11 janvier 2017 ainsi que les notes de version.

    Il s’agit principalement d’une version de suivi qui corrige plus de deux cents bugs depuis la version 8.0 dont l’annonce de la sortie avait été faite sur LinuxFr.org. Donc à ce titre, il n’y a pas grand-chose à raconter. Le futur, c’est GHC 8.2 qui devrait arriver aux environs d’avril si on en croit le planning. Celle-ci devrait apporter principalement des améliorations de performance de l’environnement d’exécution parallèle et du ramasse-miettes.

    Comme on frôle la dépêche bookmark et que je tiens à mon karma, je vais vous présenter une fonctionnalité d’Haskell, que l’on retrouve dans de nombreux langages, j’ai nommé les ADT, (...)

    • #GHC
    LinuxFr.org @linuxfr CC BY
    • @sandburg
      Sandburg @sandburg CC BY-SA 23/01/2017

      #haskell

      Sandburg @sandburg CC BY-SA
    Écrire un commentaire
  • @sandburg
    Sandburg @sandburg CC BY-SA 7/12/2016
    2
    @la_taupe
    @fil
    2

    Computer Scientists Close In on Perfect, Hack-Proof Code
    ▻https://www.wired.com/2016/09/computer-scientists-close-perfect-hack-proof-code

    https://assets.wired.com/photos/w_582/wp-content/uploads/2016/09/Quanta_HP.jpg

    “Back in the 20th century, if a program had a bug, that was bad, the program might crash, so be it,” said Andrew Appel, professor of computer science at Princeton University and a leader in the program verification field. But in the 21st century, a bug could create “an avenue for hackers to take control of the program and steal all your data. It’s gone from being a bug that’s bad but tolerable to a vulnerability, which is much worse,” he said.

    The Dream of Perfect Programs !

    #langage_fonctionnel #programmation_par_contrat #haskell #caml #ada

    Sandburg @sandburg CC BY-SA
    Écrire un commentaire
  • @nicod_
    nicod_ @nicod_ 2/10/2016
    1
    @la_taupe
    1

    Apprendre #haskell vous fera le plus grand bien ! -
    ▻http://lyah.haskell.fr
    #programmation_fonctionnelle #tutoriel

    nicod_ @nicod_
    Écrire un commentaire
  • @nicod_
    nicod_ @nicod_ 1/10/2016

    Un peu de #programmation_fonctionnelle en #javascript – 24 jours de web
    ▻https://www.24joursdeweb.fr/2014/un-peu-de-programmation-fonctionnelle-en-javascript
    #haskell #programmation #fonctionnelle

    nicod_ @nicod_
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 28/09/2015
    10
    @enuncombatdouteux
    @fil
    @kassem
    @ari
    @7h36
    @supergeante
    @touti
    @goom
    @kent1
    10

    « À 12 ans, Audrey Tang quittait l’école pour coder ; à 15 ans, elle créait sa start-up. Aujourd’hui, cette retraitée de 34 ans, qui se dit "anarchiste conservatrice", crée des outils pour réinventer la démocratie. Rencontre. »

    ▻http://rue89.nouvelobs.com/2015/09/28/audrey-tang-programmeuse-geniale-hacke-politique-a-taiwan-261381

    #programmation #démocratie #féminisme

    • #Audrey Tang
    Stéphane Bortzmeyer @stephane CC BY-SA
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 28/09/2015

      Par contre, l’article note qu’elle programme en #Perl mais oublie de dire qu’elle a surtout fait du #Haskell.

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @fil
      Fil @fil 28/09/2015

      #ethercalc

      Fil @fil
    • @ben
      Ben @ben CC BY-NC 28/09/2015

      #merciSeenthis

      Ben @ben CC BY-NC
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 29/09/2015
      @nicod_

      @nicod_ L’article de Rue89 a tronqué la devise de l’IETF. La version complète est « We reject presidents, kings and voting. We believe in rough consensus and running code. »

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 30/09/2015

      Une présentation détaillée de l’IETF, en français : ▻http://www.bortzmeyer.org/expose-ietf-a-jres.html

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @supergeante
      Supergéante @supergeante 30/09/2015

      #transgenre #sense8 #hackeuse

      Supergéante @supergeante
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 11/07/2014
    2
    @fil
    @02myseenthis01
    2

    #Hasklig solves this problem the way typographers have always solved ill-fitting characters which co-occur often: #ligatures. The underlying code stays the same — only the representation changes.

    ▻https://github.com/i-tu/Hasklig

    #Haskell #typography

    Stéphane Bortzmeyer @stephane CC BY-SA
    • @fil
      Fil @fil 11/07/2014

      https://github.com/i-tu/Hasklig/raw/master/hasklig_example.png?raw=true

      #lisibilité #programmation

      PS : cette notation me rappelle le bon vieux temps du #A

      Fil @fil
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 17/04/2013

    Very nice story about software development, with many details. Very good reading if you want to understand the real problems of programming.

    ▻http://joeyh.name/blog/entry/Template_Haskell_on_impossible_architectures

    #haskell #android

    • #software development
    • #android
    Stéphane Bortzmeyer @stephane CC BY-SA
    Écrire un commentaire
  • @0gust1
    0gust1 @0gust1 CC BY-NC 14/01/2013
    1
    @stephane
    1

    Le bouquin de référence sur la programmation fonctionnelle :
    ►http://mitpress.mit.edu/sicp/full-text/book/book.html

    version epub : ►https://github.com/ieure/sicp

    Solutions des exos en différents langages (Scheme, Clojure, Ruby and JavaScript) : ►https://github.com/pjb3/sicp (il semble en exister d’autres ailleurs)

    #programming #développement #LISP #programmation_fonctionnelle #lambda_calcul

    0gust1 @0gust1 CC BY-NC
    • @stephane
      Stéphane Bortzmeyer @stephane CC BY-SA 15/01/2013

      Bof, ce livre ne parle même pas de #Haskell.

      Stéphane Bortzmeyer @stephane CC BY-SA
    • @0gust1
      0gust1 @0gust1 CC BY-NC 16/01/2013

      Le langage ou l’homme ? L’homme y est cité (dans la préface, du moins). Le langage, n’existait pas à l’époque de l’écriture du bouquin (1980). J’ai surement mal intitulé mon « seen », ce bouquin est surtout un #classique_de_l'informatique (et donc peut être une référence aussi).
      Je l’ai commencé, et son approche, pour l’instant, convient bien au demi (voir quart) de dev que je suis, qui souhaite se muscler un peu. :)

      ►http://en.wikipedia.org/wiki/Structure_and_Interpretation_of_Computer_Programs

      0gust1 @0gust1 CC BY-NC
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 15/01/2012

    « Comprehensive comprehensions : comprehensions with "Order by" and "Group by" », de Phil Wadler et Simon Peyton Jones

    ►http://research.microsoft.com/en-us/um/people/simonpj/papers/list-comp

    Un amusant papier où les auteurs prennent un mécanisme existant en #Haskell, les compréhensions (définir les éléments d’une liste par une propriété et pas en énumérant tous les membres ; notez que cela existe dans d’autres langages, comme Python) et l’étendent pour la rapprocher de ce que permet #SQL, notamment en permettant le groupage, le tri, etc.

    Le début de l’article est plutôt concret et lisible, même si la fin se termine, comme souvent dès qu’il s’agit de programmation fonctionnelle, dans des envolées mathématiques. Intéressante exploration des ressemblances et différences entre SQL et un langage fonctionnel.

    Stéphane Bortzmeyer @stephane CC BY-SA
    Écrire un commentaire
  • @julien
    juba @julien CC BY 4/08/2011
    7
    @gblin
    @fil
    @rastapopoulos
    @nhoizey
    @grommeleur
    @jean-baptiste
    @martin
    7

    #Pandoc - About pandoc
    ►http://johnmacfarlane.net/pandoc

    If you need to convert files from one #markup format into another, pandoc is your swiss-army knife. Need to generate a man page from a markdown file? No problem. LaTeX to Docbook? Sure. HTML to MediaWiki? Yes, that too. Pandoc can read markdown and (subsets of) reStructuredText, textile, HTML, and LaTeX, and it can write plain text, markdown, reStructuredText, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, textile, groff man pages, Emacs org-mode, EPUB ebooks, and S5 and Slidy HTML slide shows. PDF output (via LaTeX) is also supported with the included markdown2pdf wrapper script.

    • #HTML
    juba @julien CC BY
    • @fil
      Fil @fil 4/08/2011

      merde ! et #SPIP ? en tous cas super bonne nouvelle, si ça marche comme annoncé c’est une clé
      #ebooks #haskell #TeX

      Fil @fil
    • @fil
      Fil @fil 4/08/2011

      sur mac :
      # sudo port install pandoc
      et le source :
      # git clone git ://github.com/jgm/pandoc.git

      Fil @fil
    • @fil
      Fil @fil 4/08/2011

      utilisation pour récupérer une page web vers le format markdown dans mon éditeur :
      # curl xttp ://page-web | pandoc -f html -t markdown | edit

      Fil @fil
    • @fil
      Fil @fil 6/02/2012

      La version 1.9 vient de sortir
      ►http://johnmacfarlane.net/pandoc/releases.html#section

      Fil @fil
    • @rastapopoulos
      RastaPopoulos @rastapopoulos CC BY-NC 26/10/2012

      Un graphe montrant les entrées et les sorties possibles :

      http://johnmacfarlane.net/pandoc/diagram.png

      #conversion #format #texte #publication

      RastaPopoulos @rastapopoulos CC BY-NC
    • @fil
      Fil @fil 18/09/2013

      la version 1.12 est sortie, c’est du tout bon
      … mais il manque encore une lecture/écriture des raccourcis #SPIP

      Fil @fil
    • @rastapopoulos
      RastaPopoulos @rastapopoulos CC BY-NC 18/09/2013

      Pas mal de code à écrire pour chaque script Lecture/Écriture :
      ▻https://github.com/jgm/pandoc/tree/master/src/Text/Pandoc/Readers
      ▻https://github.com/jgm/pandoc/tree/master/src/Text/Pandoc/Writers

      Mais ça pourrait se faire... c’est pas inhumain non plus. :D

      Ça permettrait, entre autre, de pouvoir migrer le contenu d’un site SPIP en Markdown, si un jour on change de format.

      RastaPopoulos @rastapopoulos CC BY-NC
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 17/05/2011

    Pour apprendre #Haskell (langage de programmation fonctionnel, pur et à inférence de types), trois livres possibles, et mes articles à ce sujet :

    ►http://www.bortzmeyer.org/haskell-school-expression.html

    ►http://www.bortzmeyer.org/real-world-haskell.html

    ►http://www.bortzmeyer.org/haskell-craft-functional-programming.html

    Stéphane Bortzmeyer @stephane CC BY-SA
    Écrire un commentaire

Thèmes liés

  • #programmation_fonctionnelle
  • #programmation
  • #lambda_calcul
  • #développement
  • #functional-programming
  • #programming
  • #haskell
  • #sql
  • person: phil wadler
  • person: simon peyton jones
  • #pandoc
  • #markup
  • #lisp
  • #javascript
  • programminglanguage: haskell