Programming in Prolog Part 4 - Lists, Pairs and the Member Function

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 106

  • @mrztrainer7850
    @mrztrainer7850 Месяц назад

    this playlist of prolog is surprisingly well made. there aren't many videos about prolog and, if there are, they are not very good. most shocking part is that this is from 10 years ago and has better quality than many other tutorials done recently.

  • @brandoncontreras343
    @brandoncontreras343 5 лет назад +70

    Im waiting for part 5 like I'm waiting for my dad to get back from buying cigarettes

  • @pAWNproductionsDE
    @pAWNproductionsDE 9 лет назад +53

    so many programming videos are made by people who can't speak english well (if at all) and/or can't explain it well at all. it's nice to find someone who speaks clearly and explains things simply and efficiently. love the videos man, they're really helping me!

  • @LanOfLight
    @LanOfLight 9 лет назад +70

    Disappointed there's no part 5, these videos are great!

    • @dhidhi1000
      @dhidhi1000 9 лет назад

      +LanOfLight They're quite basic indeed.

  • @0kazaki
    @0kazaki 10 лет назад +79

    Please continue the tutorials! they are great

  • @isurisuhara6881
    @isurisuhara6881 4 года назад +3

    Please give part 5,I am gonna watch part 4 now and I know I will want part 5 after watching it. It gives a feeling like watching a film series,very addictive.

  • @iAkOu1
    @iAkOu1 9 лет назад +2

    An awesome short video tutorial series on Prolog basics. Keep up the good work!

  • @m.aminaimeur8846
    @m.aminaimeur8846 6 лет назад +13

    I wish you published the recurrsion tutorial :'(

  • @jacknoone3005
    @jacknoone3005 10 лет назад +11

    Hey. Really enjoying your videos. They're greatly helping me understand Prolog for my Final Year Project. Just interested if you will be doing anymore of them. Thanks!

  • @romanshestakov8856
    @romanshestakov8856 10 лет назад +5

    Excellent! Very useful, looking forward to part 5

  • @theincredibleschalk
    @theincredibleschalk 10 лет назад +15

    urgently neeeeeeeeed part 5 ... writing exam in few weeks. thank you! danke.

  • @user-px2jq1bm8t
    @user-px2jq1bm8t 7 лет назад +1

    i am from taiwan, my english is poor, however, the speaker makes it real simple that i could understand as well, thank you~~

  • @paularequena9340
    @paularequena9340 3 года назад +1

    Great videos!! I found them very useful, I hope you make the fifth tutorial!

  • @ayanindia2009
    @ayanindia2009 8 лет назад +1

    I have been scouring the youtube for past 3 days for prolog programming tutorial video. This is one of the finest I have found till date. Effective, precise and right on to the point. BTW where is that part 5 video. You have been teasing the recursion function since part 3. :) Keep up the good work.

  • @faizalsuleman5673
    @faizalsuleman5673 2 года назад

    2022 and this video is still awesome, thanks

  • @TheLulacoco
    @TheLulacoco 6 лет назад +1

    Please continue the tutorials! They are really good and I don't understand recursion. Help :)

  • @prempreeti4180
    @prempreeti4180 4 года назад +1

    Are you publishing the next tutorial? I hope you do.. they are very good!

  • @KatonaNorbertSEO
    @KatonaNorbertSEO 10 лет назад +2

    Great tutorials, keep it up. It helped a lot!!!

  • @JamWard
    @JamWard 10 лет назад +1

    Fantastic, just what I was looking for!

  • @anrkekd
    @anrkekd 9 лет назад +1

    This was big help, thanks man, keep it up!

  • @ghstrider100
    @ghstrider100 4 года назад

    Sir can you please tell me how can i delete even numbers from a list? And sort the list in ascending order. Thanks.

  • @maiyousry9285
    @maiyousry9285 9 лет назад +13

    Aren't you going to complete the tutorial ?
    It's really helpful, wish you continue it :/ .

  • @yuradanilkin7528
    @yuradanilkin7528 9 лет назад +3

    looking forward to part 5!)

  • @dmitryponyatov2158
    @dmitryponyatov2158 5 лет назад

    Do you have plans to continue on wrting computer languaga processing in Prolog lije parsing and writing tiny compilers/asemblers?

  • @sharma30vijay
    @sharma30vijay 6 лет назад

    this video gonna make my exam awesome

  • @alexdarklord
    @alexdarklord 9 лет назад +7

    We need more please ^^

  • @EnianMadeMyDay
    @EnianMadeMyDay 8 лет назад +1

    thank you so much!! helped me a lot :) would be happy if you could do part 5 and more.. i still have troubles with recursive functions

  • @issacccom
    @issacccom 9 лет назад

    I found this very useful but I hope to see more in next video :)

  • @Anup4814
    @Anup4814 6 лет назад +1

    4 years has already past but still there's no part 5.. What may be the reason for it since in part 4 the speaker himself mentions to include more in part 5 and so on?

    • @isurisuhara6881
      @isurisuhara6881 4 года назад

      Maybe he changed his mind,I am going to start watching the fourth one now,but I feel sad , everyone ask for a part 5 in the comments.I will need a part 5 after watching too.He just finish it like in a film series,giving a to be continued feeling.I do not feel time going when I listen to it.Its 3:40 a.m ,but I feel wide awake.

  • @unknownunicorn387
    @unknownunicorn387 6 лет назад

    Please, continue this tutorials!!

  • @abhishekgupta-qi4fj
    @abhishekgupta-qi4fj 9 лет назад

    how to concatenate two list and make third list ????

  • @ramrachaimarma3553
    @ramrachaimarma3553 3 года назад +1

    I am waiting for the part 5

  • @HinaFirdaus
    @HinaFirdaus 7 лет назад

    I am getting singleton variable error if i m not declaring T n H
    member(X,T [X|T]).
    member(X,H [H|T]):-
    member(X,T).

  • @genwav
    @genwav 6 лет назад

    great series

  • @mohabamr
    @mohabamr 9 лет назад

    I just don't get the last part, why is H=2? I mean yeah sure I know a dolar is 2 H but what piece of this code says that? it's a list and you're using member rule so it should output all the options which are 0,1,2 right? I mean how does it calculate how many H's and the rest?

  • @haalandk6000
    @haalandk6000 9 лет назад

    Thanks dude.
    It's awesome!!
    Will you update a new chapter?

  • @saadhasan9206
    @saadhasan9206 9 лет назад +2

    Thank you man very much
    please continue :)

  • @Shady-pv9nd
    @Shady-pv9nd 9 лет назад

    very nice ! and can you tell me the name of the song 00:00

  • @riccardocandido
    @riccardocandido 9 лет назад

    Thanks man is an incredible video! very helpful!!

  • @caiosiqueira6138
    @caiosiqueira6138 3 года назад +1

    2021 and still no part 5 :/

  • @RubzZgurl
    @RubzZgurl 10 лет назад

    Thank you, this was very helpful!

  • @tim7538
    @tim7538 8 лет назад

    Good job man!

  • @hulksuperstar
    @hulksuperstar 5 лет назад +3

    RIP this is the end of the tutorials

  • @WIZLHAB
    @WIZLHAB 9 лет назад +2

    Wont u create more videos?

  • @GoingthroghIT
    @GoingthroghIT 9 лет назад

    Very helpful, thanks!

  • @anonymousvevo8697
    @anonymousvevo8697 3 года назад

    can i contact you please ?

  • @WZamp
    @WZamp 6 лет назад

    Thanks you!

  • @Frank-ch3fe
    @Frank-ch3fe 8 лет назад +6

    Part 5 Recursion pls!

  • @cyzer7
    @cyzer7 10 лет назад

    Very nice indeed.

  • @darwinchan5573
    @darwinchan5573 7 лет назад

    i have a problem here. suppose i have several points connected with one and other.
    I need to use member and list function to figure out the order of how they are connected. It involves recursion as well.
    connected(1,2).
    connected(2,1).
    connected(1,3).
    connected(3,1).
    connected(4,2).
    connected(4,5).
    connected(5,6).
    member(X, [H|T]).
    member(X, [H|T]):- member(X, T).
    path(X, Y) = connected(X, Y), not(member(X, Y))
    path(X, Y, V) = connected(X, Y), not(member(X, V)
    I dunno how to write next to get the results.

  • @lucascampelo4539
    @lucascampelo4539 5 лет назад

    Thanks a lot! XD

  • @ildisiri
    @ildisiri 9 лет назад +3

    wtf dude -.- please continue!

  • @bakarisheghembe7898
    @bakarisheghembe7898 9 лет назад

    Hope that all is well wherever you are, really enjoying your videos, but where is video five.
    Especially on the point of recursive functions

  • @KoreanwithNaz
    @KoreanwithNaz 10 лет назад +1

    Please keep on doing :)

  • @pedram7sd
    @pedram7sd 9 лет назад

    Watched all 4 Tutorials ?
    is there more ?
    if not do you have any recommendations on where I should properly learn prolog ?

  • @varshathnk
    @varshathnk 7 лет назад

    how do i print the elements of a list inside a list? For example, if i have a list print_list([[b,c,f],[a,d,g],[h,e]]), i want the output to be |b|c|f|a|d|g|h|e

  • @liutenghou
    @liutenghou 9 лет назад

    That last part was pretty funny. "Pennies... uh... uh... actually we're not going to include this."

  • @zzahraa12
    @zzahraa12 9 лет назад

    thank you!!! maybe i'll pass my exam tomorrow ...

  • @junchaowang4154
    @junchaowang4154 9 лет назад +1

    thank you so much

  • @abdelghanimahammedi6149
    @abdelghanimahammedi6149 5 лет назад +1

    what about part 5 man ?

  • @cesarsalazar7402
    @cesarsalazar7402 5 лет назад +2

    Still waiting part 5

  • @williamleung5230
    @williamleung5230 9 лет назад

    Cool vids, thanks

  • @DowaKaday
    @DowaKaday 9 лет назад

    can you explain more on recursion please

  • @balkrishnahegde5993
    @balkrishnahegde5993 6 лет назад

    Hey your next video??

  • @dmitryponyatov2158
    @dmitryponyatov2158 8 лет назад

    How can I "normalize" last code in this video replacing lists [1,..,20] by some nested rule generating this lists ?
    Factically I want not _rule_, but _function_ here, and my imperative habits brokes my mind on groking Prolog in this cases. I spend lot of time trying to grok prolog approach and still far from this goal 8-(

  • @yasmins1751
    @yasmins1751 8 лет назад

    I went to the site but ''Create a new program or notebook here '' Which should I use?

  • @123califax
    @123califax 10 лет назад

    hello, can you tell me why this example gives a false answer:
    [a, b, c|rest] = [1, 2, 3, 4, 5].

    • @Gekas311
      @Gekas311 9 лет назад +4

      You should write letters a, b, c and rest with uppercase, because it's variables

  • @enditend2
    @enditend2 10 лет назад

    anyone know how I can get pairs of a list , let's say I have a list of : [1,2,3]
    the result would be : [[1,2],[1,3],[2,3]].

  • @mobinmaasoumi
    @mobinmaasoumi 9 лет назад

    thnx very much

  • @johnnycasares8279
    @johnnycasares8279 3 года назад

    yo nice

  • @99ARPITJAIN
    @99ARPITJAIN 9 лет назад

    whats the name of the track

  • @stoicpoetrywisdom
    @stoicpoetrywisdom 8 лет назад

    Hi I wanted to know, how I can print out unique values from a database, so say for instance. This is what I have been trying. But the problem I have is that it does not actually remove the dupliactes.
    This is the predicate to remove duplicates
    deleteCopies([], []).
    deleteCopies([H|T], [H|T1]) :- subtract(T, [H], T2), deleteCopies(T2, T1).
    and this is how I created the predicate to print out unique values from the list below
    isDoggy([]).
    isDoggy([H|T]):- dog(H,_,_), deleteCopies([H|T], [H|T1]), isDoggy(T1).
    dog('Fred',2001,2003).
    dog('Barky',2003,2005).
    dog('Fred',2005,2007).
    dog('Ben',2007,2009).
    dog('Barky',2009,2011).
    dog('Tom',2011,2013).

  • @Zainjerr
    @Zainjerr 6 лет назад

    Next part?

  • @daridonkuro3418
    @daridonkuro3418 9 лет назад

    You tutorials are very helpful to me than what I'm learning in class. I am still struggling with list homework, recursively define rules/functions. can you make a video that covers deepsearch, for example, member(4,[2,3,[3,5,[4,5],6],7]) should return true which currently is false because the built-in member() function only supports first level membership check. Yet another recursive problem dealing with converting a lists to integers, add the results then output a list from the result. For example, sum([2,2,2,2],[3,3,3],X) => X = [2,5,5,5] because 2222+333 = 2555. How do you use a result from a sub function as a parameter to another? Like sum(2,2,X) => X =4 but now how do use the value of X in another function?.I hope you respond sooner to this post. Thanks.

  • @amanagarwal9562
    @amanagarwal9562 9 лет назад +1

    Nice Video..... But where is the next video?

  • @aws0mo63
    @aws0mo63 10 лет назад

    Can you please put up a tutorial for finding Maximum value from our database of facts?

  • @gilbertsenyonjo963
    @gilbertsenyonjo963 5 лет назад

    You funny guy. You indeed a simple engineer. Were you even aware that your prolog videos are the best on the net till now. But just like for all your playlists - incomplete. Did someone kill you ??

  • @lefterissofras
    @lefterissofras 5 лет назад

    excellent tutorial, but no pairs explained......

  • @sunflowerstudies8719
    @sunflowerstudies8719 5 лет назад

    sad that there is no part 5
    wanted to understand recursive rules better

  • @gmarsenopoulos
    @gmarsenopoulos 7 лет назад

    year 2017
    still no part 5

  • @mexico9500
    @mexico9500 9 лет назад

    ANY P5?

  • @jokervsriddler
    @jokervsriddler 9 лет назад +1

    dudes where is the next video?

  • @mya7590
    @mya7590 7 лет назад

    where is part5?

  • @PKTraceur
    @PKTraceur 4 года назад

    You misspelled 'Cents' with a S

  • @denisr.8248
    @denisr.8248 8 лет назад

    i want to see mroe Videos please make soem when yo have time :S

  • @mexico9500
    @mexico9500 9 лет назад

    dead(z) made me instantly think of Pulp Fiction

  • @rodolink_0
    @rodolink_0 9 лет назад

    so sad theres not part 5 u_u

  • @АнтонКлатт
    @АнтонКлатт 8 лет назад

    May be I am dumb but i heard penis when you was saying ("Penns" or "pen is") =))))) - funny

  • @cameronpattisall
    @cameronpattisall 9 лет назад +1

    dead(z) baby...dead(z)

  • @arwafaris3682
    @arwafaris3682 8 лет назад

    Thank you so much