Ticket #2279 (closed feature request: worksforme)

Opened 5 years ago

Last modified 5 years ago

Include library source code in distribution

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Documentation Version: 6.8.2
Keywords: Cc: constantine.plotnikov@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I suggest including source code for haskell libraries in the distribution (or to have additional distribution with sources). The source code would be a valuable learning resource for those who are starting to learn haskell.

It would be possible to examine what the function actually does. And it would be possible to replicate a patterns from the library in own code when the library functions or types do not provide a requested functionality.

Even simply providing the source code would be a great help. The partially provided source for core Java libraries was one of the reasons why Java has gained popularity so fast. But providing an easy ability to recompile haskell library sources on the spot will simplify a process of submitting small enhancements and bug-fixes and it will be more in the spirit of open source.

Change History

Changed 5 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to worksforme

Thanks for the suggestion. Happily, the docs already include the source code, e.g.: http://www.haskell.org/ghc/docs/latest/html/libraries/base/src/Control-Concurrent.html

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple
Note: See TracTickets for help on using tickets.