# File lib/sass/script/functions.rb, line 1334
    def index(list, value)
      assert_type list, :List
      index = list.value.index {|e| e.eq(value).to_bool }
      if index
        Number.new(index + 1)
      else
        Bool.new(false)
      end
    end