Lazy Evaluation in Python

  Рет қаралды 5,421

Philipp Hagenlocher

Philipp Hagenlocher

Күн бұрын

Пікірлер: 10
@Fanaro
@Fanaro 3 жыл бұрын
"Type Juggling" is the jargon I was missing out on for years.
@peterm8808
@peterm8808 4 жыл бұрын
Indeed I didn't expect the spanish inquisition in this video, nice reference
@Daniel-ws9qu
@Daniel-ws9qu 4 жыл бұрын
Much knowledge in few sentences!
@user-fp6dt1os1l
@user-fp6dt1os1l 4 жыл бұрын
By the way, Python has built-ins that basically do what `lfilter` and `lmap` do, and many more similar things in the `itertools` module.
@philipphagenlocher
@philipphagenlocher 4 жыл бұрын
Totally forgot to mention that module!
@lasdjfidkdkeidek3i3
@lasdjfidkdkeidek3i3 4 жыл бұрын
Awesome videos! Can you do one on build tools/package management and how they relate to raw ghc and each other? E.g. cabal/stack/nix/hackage/etc
@philipphagenlocher
@philipphagenlocher 4 жыл бұрын
It's unlikely that I will cover tools. That has multiple reasons: 1.) It would only make sense to cover tools that I use myself and generally I am avoiding most of them. I just don't like to have many dependencies in a project. 2.) I don't think I could provide any information that isn't already presented in the user manuals. 3.) Tools can (and often do) change over time, so a video could become outdated in a matter of months from publication.
@lasdjfidkdkeidek3i3
@lasdjfidkdkeidek3i3 4 жыл бұрын
​@@philipphagenlocher Sure. That's understandable. Out of curiosity how do you avoid pulling in dependencies and how do you handle them then when you do need them? I'm in the initial phases of writing something that generates PDFs as a starter project in haskell and already I've had to pull in a handful (probably understandable considering the domain of the problem). As a new user, I was a bit overwhelmed initially by the build ecosystem in haskell. I decided to *only* use cabal as it seemed the most simple case (as opposed to using cabal AND some other tools as some developers seem like to do). However, being new its not totally clear to me how cabal interacts with ghc(i). Maybe what I'm lacking really is a full understanding of how ghc works. Anyway, thanks for taking the time to give such a detailed response and for the fantastic videos! They are a godsend to new haskell'ers like me. Keep the good work :)
@aniruddharora4004
@aniruddharora4004 4 жыл бұрын
Can you make a series on python just as you have done on haskell? The haskell series was very helpful.
@fish1r1
@fish1r1 4 жыл бұрын
but... haskell...
Python Generators
15:32
mCoding
Рет қаралды 146 М.
Compiled Python is FAST
12:57
Doug Mercer
Рет қаралды 127 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
5 Useful Python Decorators (ft. Carberra)
14:34
Indently
Рет қаралды 113 М.
Haskell for Imperative Programmers #32 - DeepSeq
22:13
Philipp Hagenlocher
Рет қаралды 4,4 М.
Haskell for Imperative Programmers #31 - Weak Head Normal Form
23:13
Philipp Hagenlocher
Рет қаралды 8 М.
Python itertools - The key to mastering iteration
20:03
mCoding
Рет қаралды 37 М.
The Factory Pattern in Python // Separate Creation From Use
14:58
Laziness in Python - Computerphile
14:21
Computerphile
Рет қаралды 365 М.
Haskell for Imperative Programmers #30 - Software Transactional Memory (STM)
24:15
Python Tutorial for Beginners 4: Lists, Tuples, and Sets
29:05
Corey Schafer
Рет қаралды 1,5 МЛН
Learn Python LAMBDA in 6 minutes! 🚮
6:50
Bro Code
Рет қаралды 15 М.