Tuesday, August 02, 2005

Stupid keywords

I spent like 20 minutes trying to figure out what I was doing wrong with the syntax of pattern matching in Ocaml, only to discover the problem wasn't with pattern matching at all: I was trying to bind the name val, which is a keyword in ML:
let (key, val) = List.find( ... )
Learning a new language is such a pain. I thought I'd grown out of stupid problems like this. You almost can't blame developers for resisting learning new technologies.

12 comments:

Anonymous said...

Hey Dave,

Usually a decent syntax highlighter helps with that problem. If it turns blue, it's a bad variable name =)

(How come you're learning OCaml?)

Dave Herman said...

That's a good point. In my case, I'm forced to work with a minimal emacs installation over SSH on someone else's Linux box, because I'm playing with alphaCaml and that was the only place I could get it installed. So I don't even have an Ocaml mode.

How come you're learning Ocaml?

I'm working with alphaCaml, because I'm interested in languages that deal with binders.

Anonymous said...

Awesome. Funny enough, I've been interested in the same topic lately. In particular, higher order abstract syntax. alphaCaml is on my list.

Dave Herman said...

All right, you convinced me. I got X-forwarding set up and I have my precious syntax highlighting. So much better.

IT Software Training Institute said...

SAP ABAP Training in Bangalore with 100% placement. We are the Best SAP ABAP Training Institute in Bangalore. Our SAP ABAP courses are taught by working professionals who are experts in.

sap abap training in bangalore

sap abap courses in bangalore

sap abap classes in bangalore

sap abap training institute in bangalore

sap abap course syllabus

best sap abap training

sap abap training centers

IT Software Training Institute said...

Our training institute is the best place to learn foreign languages. Enroll for the best German Language training center in Bangalore. Our Foreign Language School specialists in German language education. Join the best foreign language classes, training institute, coaching centers, tutors, instructors in Bangalore.

German Language Training in Bangalore

German Training Institute in Bangalore

German Institute in Bangalore

German Language Institute

Indian Institute of German & German Language

German Learning

German Language Institute in Bangalore

German Courses

German language course in Bangalore

learn German language in Bangalore

German language basics learning in Bangalore

learn German grammar in Bangalore

German learning centres contact addresses in Bangalore

German grammer tuition phone numbers in Bangalore

reviews of German language learning centres in Bangalore

ratings of German spoken classes in Bangalore

Fouadwhatsappdownload said...

Fullforms
Fullforms
Fullforms
Fullforms
Fullforms
Fullforms
Fullforms
Fullforms
Fullforms

Ricky R said...

Thanks for sharing this amazing post. Keep check this: https://packagessite.pk/ufone-whatsapp-packages/

Majortotosite Pro said...

Thanks for your own effort on this web page. My mom loves getting into research and it’s really easy to understand why. My partner and i learn all relating to the compelling means you give very useful tricks by means of your web site. 메이저사이트

Racesite Pro said...

I am not positive where you are getting your info, however great topic. I must spend a while learning much more or figuring out more. Thank you for fantastic information I was on the lookout for this info for my mission. 경마

Oncasinosite Net said...

We absolutely love your blog and find nearly all of your post’s to be precisely what I’m looking for. can you offer guest writers to write content for you personally? 바카라사이트

Totopick Pro said...

I wouldn’t mind composing a post or elaborating on a number of the subjects you write in relation to here. Again, awesome web log! 토토사이트