Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a way to derive fmapFirst and fmapSecond for bifunctors automatically. I would prefer a way to do it using the new Generic type class or using Data.Data, and without Template Haskell.
(Note that I already know that https://hackage.haskell.org/package/genifunctors-0.2.2.0/docs/Data-Generics-Genifunctors.html supports this with use of Template Haskell, I wish to know if Template Haskell can be avoided here)
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there an equivalent of Data.Lists.NonEmpty for sets?
I know there is NonNull from mono-traversable, but I'm wondering if there's anything else out there.
Not in base, but there does seem to be a package that includes nonempty versions of a few data structures, such as Maps and Sets.
http://hackage.haskell.org/package/non-empty-0.3
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am currently searching for implementations of Huet's Zipper ``in the wild''.
So far, I have found:
The agda compiler (correct me if I'm wrong) uses the zipper for the eliminator of call-by-need evaluations, filling out information as it goes.
Another instance is used in XMonad to keep track of the focused workspace and the focused window on each workspace
Are there other ways to implement//other implementations of the zipper?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for something similar to Python's os.path.expandvars in Haskell, i.e., a FilePath -> IO FilePath function that is
Cross-platform (supports both Windows %VAR% and Unix $VAR styles)
Standard (I don't want to write my own function for that).
Example:
> expandVars "$HOME/foo/bar"
"/home/someuser/foo/bar"
I've searched on Hoogle, Hayoo and Google but found nothing, which is surprising given the number of cross-platform Haskell tools. The closest I found is this Unix-only implementation. Perhaps there is some project which implements this as a subroutine?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there an Erlang library equivalent to Parsec or attoparsec (Written with Haskell) ?
Yes, there is, written in Erlang.
It's called Parsec Erlang.
More Parsec clones in other languages can be found here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Does anybody know of a good SVG parser that puts out an SVG object in C++? I don't mind if it's free or paid. I'm just looking for one that is cleanly architected and adheres very well to the spec. Preferably one that would let me start rendering by just inspecting the structures and passing the info on to Cairo or QT.
Thanks!
Maybe you should have a look at the Fog-Framework