Haskell for Imperative Programmers #43 - Cabal
ฝัง
- เผยแพร่เมื่อ 9 ก.ค. 2024
- This video is supported by translatebox.io
Cabal: www.haskell.org/cabal/
Install instructions (Windows): hub.zhox.com/posts/introducin...
Editor shown in this video: vscodium.com
Further reading:
dev.stephendiehl.com/hask/#cabal
cabal.readthedocs.io/
Timestamps:
00:00 - Intro
00:50 - Installation & First Steps
02:07 - Project Setup
07:05 - Adding Library Modules
10:40 - Building a Library
13:21 - Commons
16:28 - Checking .cabal
17:50 - Multiple Executables
21:41 - Resolving Dependencies
24:35 - Test Suites with QuickCheck
33:34 - Some Considerations
35:22 - Cabal Hell - วิทยาศาสตร์และเทคโนโลยี
Woah this is AMAZING. Haskell's build tooling has always been a headache for me since i started learning it 1 year ago. Your video is a game changer. I hope this blows up on the algorithm some day.
This series is gold! Never stop!
Pro trick : you can watch movies on Kaldrostream. Me and my gf have been using it for watching lots of of movies these days.
@Gunnar David definitely, been watching on KaldroStream for since december myself :)
@Gunnar David Definitely, been watching on Kaldrostream for years myself :D
Hi Phillip, what a great Tutorial! I,m just looking forward for the next Tutorial about stack. :)
That didn't age quite so well...
Thanks for putting all these together!! I'd love to see those series to get continue, and cover other things like stack, ghcup, hie etc.
finally for haskell build tools and deps management, really exiting for Stack, and hope for near future you will explain ghc extensions because when i try to learn some haskell repo there must be some extensions that make syntax look weird for beginners, btw awesome video as always
At some point I will probably talk about the most used / useful extensions. I agree that they sometimes lead to confusing syntax for beginners!
Thanks! These tutorials are very useful. Could you make a video about Stack and the differences between Cabal and Stack, please?
Thanks for this amazing series. I hope I will be able to write more than "Hello, world!" in Haskell one day
I love your series! I've binge watched every single one of them, and I'm excited for all future ones! All the topic suggestions by others are brilliant, and I want to add my own too:
It could be months, years, later, but would you create a video on Kinds? They are a part of core haskell that is often a barrier to new programmers including me.
Thank you for this great video.
It seems that your Lib module is compiled many times. I think that the options for the executable targets should be something like:
build-depends: mydemo
other-modules:
hs-source-dirs: app
Fantastic ! Thank you
Thank you for the whole series of tutorials, it goes way deeper than I thought.
Something I want to learn more but can't find a good source, like and (heard it's some sort of idiom)and the declaration of classes (derive? where?)
Last but not least, I want the video about stack...
p.s. Is there a list of Haskell operators? I just found
Hey Philipp, really loving your channel. Do you have any plans to make a video about memoization in Haskell? Cheers!
Many thanks for your videos. Could you do a video on Haskell Generics, Template Haskell, Aeson and/or maybe type level programming please?
Please come back 😥
Hey philip when will you talk about lenses?
you might also want to talk about other functors like covariants and profunctors
Thank Philip guru
why don't u do a video on the cabal environment variables.
Cabal doesn't work on arch unfortunately. I don't know what the deal is, but supposedly the Arch linux devs and the Haskell devs don't like each other.
I made a docker image with the official haskell docker and that's how I compile things now lol.
Can you explain me why foldr (\a b-> if even a then a+2 else b-1) 2 [5,9,10,3] has a solution of 10? Ive seen all your videos and i cant understand why
Great video! BTW "Suite" is pronounced like "Sweet"
Well... Leave it up to me to mess something up atleast ONCE per video. ;) Thanks for pointing that out!
hehehehe, allow him, but thanks
Stack please!
Is this channel dead?