How to create separate local package with cabal and create cabal project with many executables wich use this package.
Part 1: https://youtu.be/uqXT_DXg32U
You can also add source of your package from git:
In your cabal.project file add a new section:
source-repository-package
type: git
-- Normally this is a git URL, but a local path works too (but I think it must be absolute?):
location: /path/to/your/local/bson-docmap
-- Replace this with the commit you want to check out:
tag: e1a47b8802d12cd221eead508c5b4d9ccd65feb4
https://www.haskell.org/ghcup/
https://www.haskell.org/cabal/
https://cabal.readthedocs.io/en/stable/
You can also can quick start with stack (stack is GHC version + set of compartable packages) -
https://www.youtube.com/watch?v=BkPVjvTEeK4&t=1s
Don't forget to buy some crypto :)
https://www.binance.com/ru/register?ref=12580828
https://www.okex.com/join/6758541
https://www.gate.io/ref/680337
https://www.kucoin.com/ucenter/signup?rcode=7P7fay
https://www.bitfinex.com/?refcode=8lRfGpZhk
...
https://www.youtube.com/watch?v=pDF__njZ4Cg
Binary search tree with haskell
How to:
1. Insert in Binary search tree
2. 7:33 Delete from Binary search tree
3. 17:31 Check a Binary tree is Binary search tree
https://gist.github.com/evgenii-malov/405a6f21d2de94e96b9d2d7c90052dd9
https://gist.github.com/evgenii-malov/1fc29a652751451dbca0d54d454cc1ef
...
https://www.youtube.com/watch?v=TC9YPLyTTDo
Классификация чисел на: простые и составные числа (prime and. composite numbers)
Простые числа имеют строго 2 разных делителя, единицу и само число.
...
https://www.youtube.com/watch?v=uUql22mcRMo
Construct Merkle tree with Haskell from scratch
Merkle tree popular data structure of blockchain (used in bitcoin etc)
The Merkle tree allows verifying that a transaction exists in the block without having the entire block, by following its Merkle branch. Among other things this enables:
-SPV (lightweight) clients
-Blockchain pruning
-Smart pool miners
...
https://www.youtube.com/watch?v=bwVdaKxyRJU