Die Suche ergab 102 Treffer

von spyro.makedonski
9. Mai 2014 20:35
Forum: Archiv
Thema: State of the correction?
Antworten: 4
Zugriffe: 652

Re: State of the correction?

Looking at the archive from last year... it took 34 days
so still 6 days to go :D
von spyro.makedonski
20. Jul 2013 17:27
Forum: Archiv
Thema: Points per exercise
Antworten: 10
Zugriffe: 1106

Re: Points per exercise

you are not alone!
same with me with 7,10, 11, and 12 (shows 1.0 point, but full points to the individual tasks)
von spyro.makedonski
18. Jul 2013 11:23
Forum: Archiv
Thema: cannot build sugarJ project
Antworten: 4
Zugriffe: 454

cannot build sugarJ project

Could someone bring sugarJ to work? ... i tried the hint provided in WebLab... i keep on getting errors like ... An internal error occurred during: "SugarJ parser: atm/Machine.sugj". org.sugarj.common.Environment.getSourcePath()Ljava/util/Set; regards ps. I am pretty sure the assistent said last thu...
von spyro.makedonski
27. Jun 2013 17:18
Forum: Archiv
Thema: maybe change deadline for Exercise 10?
Antworten: 2
Zugriffe: 317

maybe change deadline for Exercise 10?

I would like to ask if it would it be possible to extend the deadline for exercise 10 with some time because we had only 3 days available to work on it and during these 3 days i have been pretty busy... Also the link to the slides from Thursday, 20. June does not work...

Regards
von spyro.makedonski
18. Jun 2013 13:06
Forum: Archiv
Thema: Exercise 6: Corrections, come on really?
Antworten: 2
Zugriffe: 424

Re: Exercise 6: Corrections, come on really?

Hi f_jakob,
thank you for the answer ... i accept your explanation
von spyro.makedonski
17. Jun 2013 11:11
Forum: Archiv
Thema: Exercise 6: Corrections, come on really?
Antworten: 2
Zugriffe: 424

Exercise 6: Corrections, come on really?

case Until0(until, body) => { val (testV, s1) = interp(until, env, store) testV match { //return doesn't matter what case NumV(0) => (NumV(5),s1) case NumV(n)=>{ val (bodyV, s2) =interp(body,env,s1) interp(Until0(until,body),env,s2) } case _ => sys.error("can only test numbers, but got: " + testV) ...
von spyro.makedonski
6. Jun 2013 19:20
Forum: Archiv
Thema: Ex07 refering to group exercise 6
Antworten: 13
Zugriffe: 1348

Re: Ex07 refering to group exercise 6

Wambolo hat geschrieben:the second argument of insert could be Ctor('Pair, List(...
Thanks!
von spyro.makedonski
6. Jun 2013 03:33
Forum: Archiv
Thema: Ex07 refering to group exercise 6
Antworten: 13
Zugriffe: 1348

Re: Ex07 refering to group exercise 6

How can i use insert and lookup? someone provide an example please... when i do App(insert,a->b), it doesnt work. How can i insert key/value pair then?
von spyro.makedonski
31. Mai 2013 19:00
Forum: Archiv
Thema: Points per exercise
Antworten: 10
Zugriffe: 1106

Re: Points per exercise

same with me on 5th exercise "Total functional programming" task
von spyro.makedonski
6. Mai 2013 10:26
Forum: Archiv
Thema: Exercise 3: error in tests?
Antworten: 6
Zugriffe: 1810

Re: Exercise 3: error in tests?

ok it works now... thanks for your help
von spyro.makedonski
6. Mai 2013 00:26
Forum: Archiv
Thema: Exercise 3: error in tests?
Antworten: 6
Zugriffe: 1810

Re: Exercise 3: error in tests?

But as i understand it, it is not the preprocessor's job to do the substitutions... the interpreter is supposed to do the substitions. When the preprocessor receives the SApp type from the test, it does not see the SFun type, unless we store it in some global Map as environment. Are we supposed to d...
von spyro.makedonski
5. Mai 2013 22:34
Forum: Archiv
Thema: Exercise 3: error in tests?
Antworten: 6
Zugriffe: 1810

Re: Exercise 3: error in tests?

thanks for your reply! i am totally confused ...10/11 Specification tests passed. All visible tests passed except one: def testZeroArg1 { expect (Num(3)) { interp(preproc(SWith('c, SFun(List(), 3), SApp('c, List())))) } } Test testZeroArg1 failed: Expected Num(3), but got Fun('_,Num(3)) obviously th...
von spyro.makedonski
5. Mai 2013 15:54
Forum: Archiv
Thema: Exercise 3: error in tests?
Antworten: 6
Zugriffe: 1810

Exercise 3: error in tests?

Task 2 following test: def testZeroArg2 { expect(Fun('_, Num(3))) { interp(preproc(SWith('c, SFun(List(), 3), 'c))) } } interp returns Int right? Why is FWAE expected then? Second question: Are you sure that interp deals correctly with Fun('_, Num(3)) ... are you sure it knows how to deal with the '...
von spyro.makedonski
28. Apr 2013 12:41
Forum: Archiv
Thema: Fehler in Exercise 2 -- Interpreter
Antworten: 6
Zugriffe: 947

Re: Fehler in Exercise 2 -- Interpreter

ein sinnvoller Kommentar!

Zur erweiterten Suche