emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Imports / inclusion of s.el into Emacs


From: Drew Adams
Subject: RE: Imports / inclusion of s.el into Emacs
Date: Sat, 2 May 2020 13:50:59 -0700 (PDT)

[Please use plain-text, not HTML.]

>> In Haskell, do you name every function with a
>> prefix that advertises the type of its return
>> value or one of its main arguments?  No, of course
>> not.  How do you find functions that return or use
>> a value of a given type?  You check signatures
>> or doc.
>
> Except if I'm missing somethign Haskell also groups related functions 
> together: 
> https://urldefense.com/v3/__https://hackage.haskell.org/package/strings-1.1/docs/Data-Strings.html__;!!GqivPVa7Brio!LCpoSrliut7R6447MW0bxoZVqjxyDCCan6SeRxySTEZFcwKTa4KnqazRkAcDMCGd$

According to what you've said before, instead of
those functions being named `text', `lazyText',
`bytes', `lazyBytes', `charToByte', and
`byteToChar' they should be named `string-text',
`string-lazyText', `string-bytes',
`string-lazyBytes', `string-charToByte',
and `string-byteToChar'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]