Non-solution using procs

The syntax isn't quite right but pretty close:
g('al')
g()['al']
g()[]['al']
g()[][]['al']
g()[][][]['al']