Scheme 1: Feel the cool

  Рет қаралды 89,378

Andy Balaam

Andy Balaam

Күн бұрын

Пікірлер: 100
@kellybmackenzie
@kellybmackenzie Жыл бұрын
This is amazing, thank you so much! Finding this in 2023 and it's still so helpful. I love Haskell and I've wanted to learn Scheme for the fun of it for a while now, and this series has been perfect for that! Thank you so much, I love this!!
@ajbalaam
@ajbalaam Жыл бұрын
Fantastic, so glad you liked it!
@ajbalaam
@ajbalaam 11 жыл бұрын
Writing your own Lisp seems to be an inevitable consequence of learning about Lisp :) I can't imagine anything more fun.
@P4i3r
@P4i3r 10 жыл бұрын
This video deserves more views!
@ajbalaam
@ajbalaam 10 жыл бұрын
Thanks!
@cthutu
@cthutu 11 жыл бұрын
You're welcome. Great videos btw. It's wonderful that you take the time and effort to do these. I've written my own embeddable lisp derivative in C and it's a great journey. Even added features that don't exist in other lisps. As a seasoned programmer, I would recommend anyone learn lisp even if they don't use it as it will help them grow as a programmer.
@abpccpba
@abpccpba 10 ай бұрын
Have found you again after 13yrs. Feel much better now will go for it again. Thanks for showing MzScheme. Allen Kay of SmallTalk said they picked LISP to build ground breaking GUI etc.
@cagan8
@cagan8 4 жыл бұрын
Just subscribed, I dig the teaching style.
@ananya10110
@ananya10110 Жыл бұрын
Can't imagine it's 10 years old
@KrisLi-o4b
@KrisLi-o4b 8 ай бұрын
I still dig the cool, after 11 years!
@AhItsArah
@AhItsArah 10 жыл бұрын
Thank you for the awesome videos! :) It's a lot of help to all the Scheme beginners out there
@ajbalaam
@ajbalaam 10 жыл бұрын
Hi AhitsArah, thanks! Glad you liked them.
@ajbalaam
@ajbalaam 12 жыл бұрын
Enjoy them, and let me know how I can improve :)
@vinapocalypse
@vinapocalypse 4 жыл бұрын
I feel you were talking too fast. It was very clear but your speaking style felt rushed
@fredjones100
@fredjones100 6 жыл бұрын
You are the first person that has actually made Scheme seem almost understandable to me... I'm definitely not a programmer but I've written a fair number of small programs over the years out of necessity, mostly bash, python and awk (oh - and fortran, once!) Inspired by this video I was finally able to adapt a GNUCash report (a lot of GC is in Scheme) which has been defeating me for about ten years - trivial stuff really but without this video I'd never have succeeded! I can't see me ever choosing Scheme to write a whole program in, I don't think I have the brainpower - but after a decade and more of total bafflement I can just about see why someone might...
@ajbalaam
@ajbalaam 6 жыл бұрын
fredjones100 wow, brilliant! Thank you for taking the time to comment.
@ajbalaam
@ajbalaam 11 жыл бұрын
Hi Zach, thanks - glad you liked it!
@sakuralu489
@sakuralu489 5 жыл бұрын
I really like your video! Thank you for posting them!
@SefraCorrea
@SefraCorrea 8 жыл бұрын
thank you very much !
@ajbalaam
@ajbalaam 8 жыл бұрын
Thank you - glad you enjoyed it!
@nbme-answers
@nbme-answers 4 жыл бұрын
Great intro! (From one youtube educator to another, thanks! (My videos, though, are agony compared to yours!)) And look, I'm already enjoying the parens ...
@ajbalaam
@ajbalaam 4 жыл бұрын
Thanks Peter!
@JaviStn
@JaviStn 7 жыл бұрын
This video helps me a lot for some tasks at uni. Thanks!
@ajbalaam
@ajbalaam 7 жыл бұрын
Hi Javi Ivaj, glad it helped!
@Rob-J-BJJ
@Rob-J-BJJ 2 жыл бұрын
thanks mr.Balaam
@RicardoSanchez-es5wl
@RicardoSanchez-es5wl 4 жыл бұрын
Awesome video
@narekasadorian
@narekasadorian 7 жыл бұрын
Excellent intro - thank you!
@ajbalaam
@ajbalaam 7 жыл бұрын
Thanks portal_narlish!
@maindepth8830
@maindepth8830 3 жыл бұрын
What are some projects i can complete in scheme
@blueblacksliver13
@blueblacksliver13 11 жыл бұрын
Great Video! A very useful introduction.
@vishalkuttin3342
@vishalkuttin3342 3 жыл бұрын
Your example at 3:29 would be wrong because the operand uses a built-in function "abs". Since it uses a built-in function, the program won't run.
@mbatu4
@mbatu4 2 жыл бұрын
He is not using a built-in function, he is writing the function "abs" itself. You are wrong.
@ajbalaam
@ajbalaam 12 жыл бұрын
Thanks John! Did you see the others in this series?
@GegoXaren
@GegoXaren 10 жыл бұрын
sort works differently in Chicken Scheme: (sort SEQUENCE LESS?) So the way to do it n Schicken Scheme is: (sort (list 4 6 5)
@gavinothegreat5765
@gavinothegreat5765 10 жыл бұрын
ha! this was the problem I saw! thx
@ValahulDeLaRovine
@ValahulDeLaRovine 10 жыл бұрын
Video Published on May 25, 2012
@ken2cky
@ken2cky 7 жыл бұрын
Hey, how did you do it in Dr Racket? It says 'sort' is undefined... Edit: i managed to make it work: use "#lang racket" and "Determine language from source" at the bottom. Then (sort (list 9 8 7 5 2)
@parthparikh7276
@parthparikh7276 4 жыл бұрын
The above method works for guile-scheme.
@smtechsolutions3527
@smtechsolutions3527 2 жыл бұрын
Thanks for the video series
@ajbalaam
@ajbalaam 2 жыл бұрын
No problem, glad it was helpful!
@johnpaulbasino
@johnpaulbasino 7 жыл бұрын
Thank you for making this video. But could I suggest that a number of summarized timestamps will be found in the video description.
@DragonSniper7
@DragonSniper7 9 жыл бұрын
Very helpful man! Thanks for the awesome videos.
@ajbalaam
@ajbalaam 9 жыл бұрын
+DragonSniper7 Thanks!
@ajbalaam
@ajbalaam 8 жыл бұрын
+Beta Rakhmadi Hi, I'm sorry I don't know anything about that. I do know the version of Scheme I used was PLT Scheme, which has been changed a bit and renamed to Racket - you can get it here: download.racket-lang.org/
@betarakhmadi554
@betarakhmadi554 8 жыл бұрын
+Andy Balaam Thank you very much. I would try to run that Racket scheme.
@aRoamingDuck
@aRoamingDuck 7 жыл бұрын
A good basic IDE for LISP and associated languages like SCHEME is called DrRacket. I suggest trying that one out for anyone looking.
@ajbalaam
@ajbalaam 7 жыл бұрын
Thanks devRanter, good suggestion.
@kristypolymath1359
@kristypolymath1359 5 жыл бұрын
In DrRacket, the sort() function isn't defined.
@SoundsFromSound
@SoundsFromSound 11 жыл бұрын
Excellent series on Scheme. Thanks so much for sharing these with us Andy! (Sidebar: what program did you use to create your slides and upload them to your site as HTML? Looks great!)
@ajbalaam
@ajbalaam 10 жыл бұрын
Hi Benjamin, thanks! For these videos I used S5: meyerweb.com/eric/tools/s5/
@null-0x
@null-0x 2 ай бұрын
In DrRacket, with sicp language pack: 1. `eval` does not seem to work as expected. It always throws some error. 2. `sort` is not a built-in procedure.
@ajbalaam
@ajbalaam 2 ай бұрын
Try to run the mzscheme command instead of drracket.
@ajbalaam
@ajbalaam 11 жыл бұрын
Hi Matt, good point.
@AlancRodriguez
@AlancRodriguez 3 жыл бұрын
Feel the cool
@ruyangguo6495
@ruyangguo6495 8 жыл бұрын
A littel schemer is the best scheme programming book I have ever seen. I like scheme,it's cool and simple but powerful .
@MoronicAcid1
@MoronicAcid1 8 жыл бұрын
爱扯淡的瞎撸 LULU How does it compare to SICP?
@noboruwataya9369
@noboruwataya9369 4 жыл бұрын
​@@MoronicAcid1 SICP is about computer science using Scheme, Little Schemer is about Scheme.
@paulclarke595
@paulclarke595 8 жыл бұрын
heya guy! love the tutorials, cant get eval to work on my Drrachet R5RS thingamajigger, its suppost to take environment arg too (wtf?!) hope to see more, streams and circular lists and such!
@SPKAeros
@SPKAeros 11 жыл бұрын
Very informative, sir. I'd learned Scheme about 3 yrs ago but I am a bit rusty.
@georgepsarellis204
@georgepsarellis204 8 жыл бұрын
Very helpful, thank you for this video Andy! I would like to ask you, how to compile Scheme. I have already installed Notepad++ and Scheme is included in its supported languages, but I just can't manage to compile. Thank you in advance! (PS This is a Windows user speaking :P)
@ajbalaam
@ajbalaam 8 жыл бұрын
+George Psarellis Hi, glad you liked it! You can download Racket, which is the new name for PLT Scheme from here: download.racket-lang.org/ Be warned though: the syntax is a little different sometimes. I think Racket might have a "compatibility" or "legacy" mode that supports true scheme though...
@georgepsarellis204
@georgepsarellis204 8 жыл бұрын
+Andy Balaam Thanks!
@eralpsahin
@eralpsahin 9 жыл бұрын
Thanks for the tutorials man
@ajbalaam
@ajbalaam 9 жыл бұрын
Eralp Şahin glad you enjoyed them!
@Oliver-Zen
@Oliver-Zen Жыл бұрын
Thanks :) it's reaaaaally interesting
@scott123159
@scott123159 Жыл бұрын
Which scheme implement do you use?
@patricklynch6214
@patricklynch6214 9 жыл бұрын
hi, i'm trying to download scheme. i tried the sudo command and it didn't work for me. I then wend to ply-scheme.org in order to download scheme. It told me to download racket - which i did. when i tried to invoke the racket application i was told that racket is not an authorized developer. any ideas as what i should do. thanks, patrick btw: i viewed the 7 videos and they were extremely helpful, thank you - well done
@ajbalaam
@ajbalaam 8 жыл бұрын
+patrick lynch I'm afraid I have no idea what happened there. I'm glad you enjoyed the videos!
@chrisramsay8795
@chrisramsay8795 9 жыл бұрын
how of interest what interpreter do u use for your scheme programming?
@enditend2
@enditend2 10 жыл бұрын
where is the map function? also let's say I want to run some function on a list and only return true if the function was satisfied , how do I do that? ( in other words I have a function that get a list and some f function and run f on the list)
@ajbalaam
@ajbalaam 9 жыл бұрын
enditend 2 I think you are looking for the the fold-left or reduce-left procedures (or their "-right") equivalents: community.schemewiki.org/?fold and en.wikipedia.org/wiki/Fold_%28higher-order_function%29 may help.
@tazplay3476
@tazplay3476 7 жыл бұрын
thank you !!
@ajbalaam
@ajbalaam 7 жыл бұрын
np LSMAlex, thank you.
@orensampson
@orensampson 8 жыл бұрын
thanks!!
@ThePainkiller1982
@ThePainkiller1982 8 жыл бұрын
How can we generate a Random number ?
@ajbalaam
@ajbalaam 8 жыл бұрын
Type "(random)".
@ThePainkiller1982
@ThePainkiller1982 8 жыл бұрын
+Andy Balaam doesn't work
@CleverProgrammer
@CleverProgrammer 8 жыл бұрын
without the quotes.
@cyanuranus6456
@cyanuranus6456 Жыл бұрын
What do You Think Why did The Programming Language Creator Who Made "The Scheme Programming Language" is a Computer Coding Script. But The Logo is JUST a "Lambda" Symbol? An Upside-Down Letter Lowercase-Y?
@null-0x
@null-0x 2 ай бұрын
May be because it uses lambda calculus?
@freddief939
@freddief939 9 жыл бұрын
Scheme is primarily a functional language. Why do you say '(kind of)'?
@ajbalaam
@ajbalaam 9 жыл бұрын
Farzin F Just because it's functional by convention and culture, not enforced to be pure. Probably "kind of" is unfair. "Primarily" would be better.
@squiresuzuki
@squiresuzuki 9 жыл бұрын
Farzin F Lisps are impure functional languages, as opposed to pure functional languages like haskell and elm
@freddief939
@freddief939 9 жыл бұрын
I agree
@gavinothegreat5765
@gavinothegreat5765 10 жыл бұрын
that sort didn't work for me
@ajbalaam
@ajbalaam 10 жыл бұрын
Hi gavino, are you using mzscheme? Some related languages (including racket, I think) have the arguments to sort the other way around.
@duct.q.4402
@duct.q.4402 10 жыл бұрын
Andy Balaam I use DrRacket and sort doesn't work for me too. Language setting is on beginner. sort: this function is not defined. So I have to define sort first.
@ajbalaam
@ajbalaam 10 жыл бұрын
Duc Tran Quang Try mzscheme - it starts racket in a compatibility mode that should make it work as I've shown. Racket is no longer a dialect of Scheme, but a separate (similar) language.
@duct.q.4402
@duct.q.4402 10 жыл бұрын
It works if I change the language level. But unfortunately for me my university wants me to use DrRacket with beginner language setting.. but it's ok, I was just wondering why it did work for you and not me. Anyways thanks for you answer.
@ajbalaam
@ajbalaam 10 жыл бұрын
Hi Duc, it's probably sensible for you to use Racket, but it's just a slightly different language from Scheme. Enjoy!
@carlosmontiel7078
@carlosmontiel7078 9 жыл бұрын
Need a calculator please help!
@darellarocho5729
@darellarocho5729 2 жыл бұрын
Woah
@ajbalaam
@ajbalaam 2 жыл бұрын
I know
@cthutu
@cthutu 12 жыл бұрын
Andy, for the last example you could have used map again: (map eval mycode) rather than introduce for-each.
@JohnCLiberte
@JohnCLiberte 7 жыл бұрын
(amazing 'thanks)
@ajbalaam
@ajbalaam 7 жыл бұрын
'(np :)
@Yenaled1
@Yenaled1 Жыл бұрын
Please stop slamming your keboard
@mlfconv
@mlfconv 5 жыл бұрын
C
@C.G.W
@C.G.W 6 жыл бұрын
poor keyboard!
Scheme 2: Basics - pairs and lists
24:03
Andy Balaam
Рет қаралды 50 М.
Scheme Lisp: Feel the Cool - Andy Balaam [ACCU 2018]
1:20:05
ACCU Conference
Рет қаралды 22 М.
小丑揭穿坏人的阴谋 #小丑 #天使 #shorts
00:35
好人小丑
Рет қаралды 22 МЛН
Lets LISP like it's 1959
48:01
linux.conf.au
Рет қаралды 82 М.
Lisp, The Quantum Programmer's Choice - Computerphile
6:36
Computerphile
Рет қаралды 208 М.
Lisp Tutorial for Beginners (Clojure)
16:22
Sammy Engineering
Рет қаралды 1,9 М.
Lambda Calculus - Computerphile
12:40
Computerphile
Рет қаралды 1 МЛН
5 Reasons to Learn Scheme in 2024
13:37
System Crafters
Рет қаралды 15 М.
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
lambdas and Conditionals (Scheme programming)
20:05
Mark Lewis
Рет қаралды 38 М.
Lecture 1A: Overview and Introduction to Lisp
1:12:56
MIT OpenCourseWare
Рет қаралды 272 М.
Common Lisp: Introduction to macros (for beginners)
11:43
The Lisper
Рет қаралды 1,1 М.