Learning in a flexibly challenging world