在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):haskell-foundation/foundation开源软件地址(OpenSource Url):https://github.com/haskell-foundation/foundation开源编程语言(OpenSource Language):Haskell 98.2%开源软件介绍(OpenSource Introduction):FoundationDocumentation: Discuss: Goals
SupportSee Haskell packages guidelines UsageHow to use with the normal PreludeAdd the For example: import qualified Foundation as F It's also recommended if you're going to deal with packages using text, bytestring, vector.. to use
the How to use fully without PreludeDisable the built-in prelude at the top of your file: {-# LANGUAGE NoImplicitPrelude #-} Or directly in your project cabal file: Default-Extensions: NoImplicitPrelude Then in your modules: import Foundation Advanced settingsPlease check out the chapter Advanced Usage Options in the documentation. How to contributeContribution guide can be found here. ProfilingIf you want to see the core (simpl step) or the assembly (asm step), then you can build with
Note that it doesn't actually will create the necessary extra files if the modules doesn't need building. you can then find your build by-products in:
Each modules that get compiled will create an equivalent file in the build directory:
For profiling individual programs, the following command is useful:
BenchmarkingTo get the list of benchmark:
To compare against other libraries, you need to set the
To run a specific or set of benchmarks :
To register a set of benchmarks:
DesignFoundation started on the simple idea of trying to put everything I need in one
simple and consistent package. The amazing haskell ecosystem is extremely
fragmented and maintained by different people with different goals, free time,
and style. The overall scare of not trying to change anything relatively
central ( Foundation uses and abuses type families. Code OrganisationEvery foundation modules start by
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论