Updated typed_list c code version.
Fixed bug.