Skip to content

Commit

Permalink
quick fix for #14
Browse files Browse the repository at this point in the history
  • Loading branch information
billpmurphy committed Aug 14, 2015
1 parent 2d5ca23 commit 410b860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hask/lang/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,8 +1004,6 @@ def _t(obj):
return str(typeof(obj))




def _i(obj):
"""
Show information about an object. Equivalent to `:i` in Haskell or
Expand Down
2 changes: 2 additions & 0 deletions hask/lang/type_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ def typeof(obj):
An object representing the type in the internal type system language
(i.e., a TypeOperator or TypeVariable)
"""
TypeVariable.next_var_name = 'a'

if isinstance(obj, Hask):
return obj.__type__()

Expand Down

0 comments on commit 410b860

Please sign in to comment.