ID:2958912
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
The ability to "inline" the for() procedure.

mob/Login()
var list/old_list = list(1,2,3,4,5,6,7,8,9)
var list/new_list = [number for number in old_list if number % 2 == 0]
this would be incredibly jank

-1
I don't know what a good syntax to match dm would be, but it would be a nice feature imo since we can't define procedures for /list.

I wouldn't say it's jank just advanced comprehension.

Login to reply.